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
Exceptions throw in a DataProperty loader or accessRule are not caught if wrapError = true is set. Instead they bubble up to the application level.
As I'm not sure where the best place would be to do the catching I didn't open a pull request. However in my tests I had to wrap the call as far up as the DefaultSchema in order to catch the exceptions.
Exceptions throw in a DataProperty loader or accessRule are not caught if wrapError = true is set. Instead they bubble up to the application level.
As I'm not sure where the best place would be to do the catching I didn't open a pull request. However in my tests I had to wrap the call as far up as the DefaultSchema in order to catch the exceptions.
KGraphQL/kgraphql/src/main/kotlin/com/apurebase/kgraphql/schema/DefaultSchema.kt
Line 51 in 3a31874
The text was updated successfully, but these errors were encountered: