Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Currently, when a name that does not exist on the Schema is passed to Schema::index_of, the error message is just the name itself. This makes it a bit difficult to debug.
I propose that we change the that error message to something like
Unable to get field named "nickname". Valid fields: ["first_name", "last_name", "address"]
to make it easier to understand.
Attachments
Issue Links
- links to