Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utils return undefined for subscriptions #802

Closed
LunaticMuch opened this issue Mar 27, 2023 · 1 comment · Fixed by #803
Closed

Utils return undefined for subscriptions #802

LunaticMuch opened this issue Mar 27, 2023 · 1 comment · Fixed by #803
Assignees
Labels
bug Something isn't working

Comments

@LunaticMuch
Copy link

Describe the bug
Function getSchemaMap returns undefined for subscriptions instead of an empty object.
Whilst not the biggest deal, it is inconsistent and can lead to parsing issues

To Reproduce
Using a demo schema just load and call getSchemaMap.

Expected behavior
The expectations is to have

subscriptions: {},
unions: {},
interfaces: {},
enums: {},
inputs: {},

instead of

subscriptions: undefined,
unions: {},
interfaces: {},
enums: {},
inputs: {},
@LunaticMuch LunaticMuch added the bug Something isn't working label Mar 27, 2023
@edno edno linked a pull request Mar 28, 2023 that will close this issue
5 tasks
@edno edno closed this as completed in #803 Mar 28, 2023
@edno edno mentioned this issue Mar 28, 2023
5 tasks
@edno
Copy link
Member

edno commented Mar 28, 2023

@LunaticMuch - I published a fix in @graphql-markdown/utils 1.1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants