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
It would be very nice to have a way to link the properties to their json keys. It would reduce the margin of error. For exemple, in my case, it would be for Firebase filters.
from : Filter('datetime_start', isGreaterThan: ...)
to : Filter(MyModel.jsonKeys.dateTimeStart, isGreaterThan: ...)
I know there already is the parameter 'create_field_map' which allows for Filter(MyModel.fieldMap['dateTimeStart'], isGreaterThan: ...) but it's safer to use properties instead of strings.
The text was updated successfully, but these errors were encountered:
That sounds good, also need it. To specify the list of fields for JSON_API-based server to return only needed fields, instead of listing all of the fields by hand from DTO objects
Hey !
It would be very nice to have a way to link the properties to their json keys. It would reduce the margin of error. For exemple, in my case, it would be for Firebase filters.
from :
Filter('datetime_start', isGreaterThan: ...)
to :
Filter(MyModel.jsonKeys.dateTimeStart, isGreaterThan: ...)
I know there already is the parameter 'create_field_map' which allows for
Filter(MyModel.fieldMap['dateTimeStart'], isGreaterThan: ...)
but it's safer to use properties instead of strings.The text was updated successfully, but these errors were encountered: