Feature request to add a flag to identify if a list was scoped
alexus37 opened this issue · 0 comments
alexus37 commented
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)