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, if a tada event is passed parameters with more keys than a spec defines, it silently drops those extra keys (using spec-tools' coercion). This is fine, because it helps avoid potential security issues (similar to how Rails controllers handle parameters). However, in development, this can be confusing.
Suggestion:
in development, return an appropriate anomaly and warning message for extra keys
consider whether the error message should be different in production
The text was updated successfully, but these errors were encountered:
Currently, if a tada event is passed parameters with more keys than a spec defines, it silently drops those extra keys (using spec-tools' coercion). This is fine, because it helps avoid potential security issues (similar to how Rails controllers handle parameters). However, in development, this can be confusing.
Suggestion:
The text was updated successfully, but these errors were encountered: