Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, I checked out your branch!
With the two changes that I made it works good for me - though the second change is an issue that probably creates more problems then it solves.
The first fix is just a trivial fix that handles an oversight: In absinthe you can have a GraphQL query that returns a single element instead of a list, the way the code worked before it was assuming that its a list, just added the case and that fixed the problem.
The second thing is that I commented out the line in get_ordinal because it causes problems for me.
And since I do not use the ordinal feature I can not properly test it for you so I will refrain from changing anything here beyond disabling the feature.
The reason why this causes a problem is that I (and I assume many others) have side effects in their subscription config function.
And this causes it to be called multiple times. This breaks my entire app and will probably have to be
done differently unless you want the library to have breaking changes for many users. Probably it can be solved by passing the ordinal callback to the options in the same way you handle it for prime, though it seems to me ordinal is handled in a bit more complex way then prime, and is dispatched in ways that I would need some time to understand, which is why I refrained from changing the logic and just commented it out to make the branch work for my project.
Other then that it is great and does what its supposed to do, if other issues arise I will report.
Best