agrestio / agrest

Server-side Java REST Framework for easy access to data graphs from various backends
https://agrest.io
Apache License 2.0
80 stars 34 forks source link

Exp syntax: deprecate case-insensitivity of NULL and booleans #655

Closed andrus closed 7 months ago

andrus commented 11 months ago

Let's deprecate the use of uppercase literals for NULL, TRUE, FALSE in the expression grammar. They should still work, but a warning should be given in the logs for their use, similar to how we warn about the use of legacy query params:

LOGGER.info("*** 'cayenneExp' control parameter is deprecated in protocol v1.1 (Agrest 4.1). Consider replacing it with 'exp'");