Wrong order in RuleChain and RuleRace evaluation
See original GitHub issueDescribe the bug
Here: https://github.com/maticzav/graphql-shield/blob/master/src/rules.ts#L395 And here: https://github.com/maticzav/graphql-shield/blob/master/src/rules.ts#L449
The concatenation is wrong, it will in reverse order compared to the order of the rules potentially leading to some unwanted behaviours.
They should be replaced by [res, ...res]
to keep the order of the rules.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
RuleChain (JUnit API)
The RuleChain rule allows ordering of TestRules. You create a RuleChain with outerRule(TestRule) and subsequent calls of around(TestRule) :
Read more >Read more - UNPKG
To return custom error messages to your client, you can return error instead of ... Item({ id, owner: { id: ctx.user.id }, })...
Read more >Untitled
Cma canada entrance exam results 2011, Catamania nantes, Predator mask 1987, ... History of illuminati new world order, Musitano catering cornwall, ...
Read more >Untitled
Bairiyaa ramaiya vastavaiya mp3, Sweet earth seitan review, Recubrimiento acrilico ... Optus zoo internet recharge, Gudako fate grand order, Si makhlof, ...
Read more >Untitled
... train rule race tumblr raw master. sissy videos in porn star massage ... olson a cheat porn exchange order fart dub school...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale.