-
-
Notifications
You must be signed in to change notification settings - Fork 160
Closed
Description
There are some errors in the QueryParser that make it throw unexpected exceptions:
-
ParseFieldsQuerythrows NullReferenceException when the field in the query doesn't exist, because of uncheckedSingleOrDefault()(same thing inContextGraph.GetRelationshipNamebtw) -
Page query parsing crashes with some malformed queries, e. g.
ParsePageQuerywill crash when querying with?page[size]=a. This should probably be aTryParseinstead of aToInt32
I can prepare a PR if you want.