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
There are some errors in the QueryParser that make it throw unexpected exceptions:
ParseFieldsQuery throws NullReferenceException when the field in the query doesn't exist, because of unchecked SingleOrDefault() (same thing in ContextGraph.GetRelationshipName btw)
Page query parsing crashes with some malformed queries, e. g. ParsePageQuery will crash when querying with ?page[size]=a. This should probably be a TryParse instead of a ToInt32
I can prepare a PR if you want.
The text was updated successfully, but these errors were encountered:
There are some errors in the QueryParser that make it throw unexpected exceptions:
ParseFieldsQuery
throws NullReferenceException when the field in the query doesn't exist, because of uncheckedSingleOrDefault()
(same thing inContextGraph.GetRelationshipName
btw)Page query parsing crashes with some malformed queries, e. g.
ParsePageQuery
will crash when querying with?page[size]=a
. This should probably be aTryParse
instead of aToInt32
I can prepare a PR if you want.
The text was updated successfully, but these errors were encountered: