Replies: 1 comment 2 replies
-
|
Is this using webmvc or webflux? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There is a data fetcher like this, the complete source codes can be found from my Github account.
I created a test to verify this operation.
When running the tests, the createPost mutation is executed, and did not apply the
@Securcesannotation.If changing to use
@ProAuthorize, it will throw an exception.The final converted errors included an error with error type
INTERNAL, this is different from the servlet stack, which returns aPERMISSIONS_DENIDerror typeBeta Was this translation helpful? Give feedback.
All reactions