Open gabisurita opened 7 years ago
:)
Indeed... I wouldn't be against raising a 400 when a record uses a reserved word, but that may be a bit radical I don't know!
Maybe we could send just a warning. Can we use the Alert header for this?
I like your suggestion about the Alert header because we don't break any API. However I am not against raising a 400 because the API starts to be broken with an undefined behavior as soon as people start to use _sort and _limit in their records.
I think maybe we shouldn't to keep a simple schema, but we should do a big warning about this in the docs. We can do some crazy things with them: