You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a resource just created with POST /resource we return the created record but none of the AREL based virtual custom_fields2 definitions are included.
That's because we use a simple (and undecorated by our magic/helpers0 model.save call to persist and load the new object to the database.
We need to find a better way to either:
apply a projection to the .save call so additional virtual attributes will be returned with the model on creation and emitted in the api
or a reload of our model after creation using Filter::Single.new so that all the extra properties are returned.
The text was updated successfully, but these errors were encountered:
For a resource just created with
POST /resource
we return the created record but none of the AREL based virtual custom_fields2 definitions are included.That's because we use a simple (and undecorated by our magic/helpers0
model.save
call to persist and load the new object to the database.We need to find a better way to either:
.save
call so additional virtual attributes will be returned with the model on creation and emitted in the apiFilter::Single.new
so that all the extra properties are returned.The text was updated successfully, but these errors were encountered: