Skip to content

problems with blitz console command #3931

Discussion options

You must be logged in to vote

Also while running the queries from console, ctx is undefined

Hey @sharmapukar217, this is because, for ctx, req and res to be available in tests or in the console, you could try to create a mock session like in this code snippet #2654 (comment).

when using src directory to store all the source code, blitz console is not loading any resolvers

Created PR #3933 to fix this issue.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by siddhsuresh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants