Closed jchen293 closed 9 months ago
My only concern is does this no pop up on object that do NOT have an object and we essentially flipped the problem?
If a user tries to get the object
field when the endpoint does not have it, then it returns a null
. The concept here is the same as having id
, created_at
, and updated_at
fields in EasyPostSource.java
for all models as almost all of our endpoints return an object
field as part of the response, if a model doesn't have an object
field, we can explicitly define the fields for that model class and not inherit to the EasyPostSource.java
Description
Add the missing
object
field to all models. Previously, some models had theobject
field while most models did not, moving theobject
field toEasyPostSource.java
so every model has this fieldTesting
Re-record a dozen cassettes, add an assertion to one unit test
Pull Request Type
Please select the option(s) that are relevant to this PR.