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

Feature request to add a flag to identify if a list was scoped #5051

Open
alexus37 opened this issue Aug 3, 2024 · 0 comments
Open

Feature request to add a flag to identify if a list was scoped #5051

alexus37 opened this issue Aug 3, 2024 · 0 comments

Comments

@alexus37
Copy link

alexus37 commented Aug 3, 2024

This is a feature request to add a flag to an object specifying if the list was scoped. This would make it easier to check if the items returned from the scoped_items function were scoped and therefore no artifical clone would be required.

I'm open to adding some kind of flag method on the returned object, something like graphql_list_was_scoped?, and checking that inside GraphQL-Ruby. (I'd rather not go for multiple return ... in places where I've used that, it has added overhead and complexity 😩 )

Originally posted by @rmosolgo in #3994 (comment)

@alexus37 alexus37 changed the title This is a feature request to add a flag to an object specifying if the list was scoped. This would make it easier to check if the items returned from the scoped_items function were scoped and therefore no artifical clone would be required. Original message: Feature request to add a flag to identify if a list was scoped Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant