-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Expose getArgumentValues from root #2719
Comments
I've seen several places that either use getArgumentValues, or suggest using it. Is there a reason it is currently not exposed from the index? Happy to make a PR if it's just an oversight |
@IvanGoncharov do you know if there is a good reason for this to be internal only? From what I can tell it receives a fair bit of use from the community, and it seems a bit too complex to just copy and paste into a project. We're currently facing issues with there being no TypeScript declaration for this export, which is preventing us adopting GraphQL v16:
Surfacing this as a top level export would be appreciated 👍 |
Is there any plans to work around this, It's currently blocking upgrading a number of large projects for me, and is starting to become a problem. |
@benjie @sachaw TS error that you experience should be fixed by c2435fd#diff-8fa9d179bb9179cc71534c34c492beb7bd8742db13f0fa1b6b269b5dc726a7f3 As for exporting |
@IvanGoncharov as discussed in WG today incorrect function was exposed. |
hope this will be resolve soon, I really expect this issue will be resolve since I'm using postgraphile and stuck with graphql version 15 for a long time :D |
any news on this? |
getArgumentValues
is marked as internal and only exposed when you import fromgraphql/execution/values
.If you could expose it from the root
index.js
it would make importing it far easier in contexts without imports to relative files (a cdn for my case.)The function is already used in production ready code in joinmonster and is necessary to get arguments from resolve info in field handlers. I don't see a good reason not to expose it.
The text was updated successfully, but these errors were encountered: