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
Currently, it is required to have a complete data structure in order to construct a query from a client. However, this is impractical when trying to do a GET request with filter type parameters. Using the validation and existing features of the library, it would be very helpful to be able to parse parameters such as the following:
This parsing would allow use of the complex ecto queries from url parameters and yet allow for customizability.
The additional verbiage of "or_after" or "contains" would be parsed specifically by the condition type and would still have the whitelist configuration for allowed keys on the model that the existing parse call has.
The text was updated successfully, but these errors were encountered:
Currently, it is required to have a complete data structure in order to construct a query from a client. However, this is impractical when trying to do a GET request with filter type parameters. Using the validation and existing features of the library, it would be very helpful to be able to parse parameters such as the following:
into something like
This parsing would allow use of the complex ecto queries from url parameters and yet allow for customizability.
The additional verbiage of "or_after" or "contains" would be parsed specifically by the condition type and would still have the whitelist configuration for allowed keys on the model that the existing parse call has.
The text was updated successfully, but these errors were encountered: