Skip to content

spring-server: context web filter should only apply on graphql routes #386

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

Merged
merged 3 commits into from
Sep 27, 2019

Conversation

dariuszkuc
Copy link
Collaborator

📝 Description

ContextWebFilter should only be applicable on /graphql and /subscription routes.

@codecov-io
Copy link

codecov-io commented Sep 27, 2019

Codecov Report

Merging #386 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #386      +/-   ##
============================================
+ Coverage     97.61%   97.62%   +0.01%     
- Complexity      318      323       +5     
============================================
  Files           104      104              
  Lines          1217     1223       +6     
  Branches        198      198              
============================================
+ Hits           1188     1194       +6     
  Misses            9        9              
  Partials         20       20
Impacted Files Coverage Δ Complexity Δ
...group/graphql/spring/execution/ContextWebFilter.kt 100% <100%> (ø) 7 <6> (+4) ⬆️
...iagroup/graphql/spring/GraphQLAutoConfiguration.kt 87.5% <100%> (ø) 6 <1> (ø) ⬇️
...raphql/federation/FederatedSchemaGeneratorHooks.kt 100% <0%> (ø) 7% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 41524f4...7690272. Read the comment docs.

@smyrick smyrick added changes: patch Changes require a patch version type: bug Something isn't working labels Sep 27, 2019
@smyrick smyrick merged commit e835ca0 into ExpediaGroup:master Sep 27, 2019
@dariuszkuc dariuszkuc deleted the context_factory branch September 27, 2019 18:01
dariuszkuc added a commit to dariuszkuc/graphql-kotlin that referenced this pull request Aug 5, 2022
…ExpediaGroup#386)

* spring-server: context web filter should only apply on graphql routes

* update to simple string compare instead of regex

* update order of custom filter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: patch Changes require a patch version type: bug Something isn't working
Development

Successfully merging this pull request may close these issues.

4 participants