-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoerceUtil cannot convert String/Long to Date field properly #292
Comments
This is typically done by adding custom jackson serializers. Does that approach not work here for some reason? |
@DeathByTape I'm afraid it's not true - almost everything is converted with
|
@DeathByTape @Koka We should provide an easy way to customize how we serialize/deserialize data in elide |
I'm gonna address this with a custom coerce converter like we did in https://github.com/yahoo/elide/blob/master/elide-core/src/main/java/com/yahoo/elide/utils/coerce/converters/ToEnumConverter.java |
@clayreimann this can be done via the jackson We should also add this to the docs! NOTE: This is how we serialize/deserialize which could be independent of type coercion within the system. |
filter[author.creationDate][gt]=1454638927411
will receive an error complaining"InvalidValueException: Invalid value: 1454638927411"
The text was updated successfully, but these errors were encountered: