Skip to content

Prevent double registration in AddSelfActivatingSchema #3522

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sungam3r
Copy link
Member

@sungam3r sungam3r commented Feb 7, 2023

Parent issue: #2797

@github-actions github-actions bot added the test Pull request that adds new or changes existing tests label Feb 7, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #3522 (a8b8caa) into master (5180ba4) will decrease coverage by 0.01%.
The diff coverage is 95.23%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master    #3522      +/-   ##
==========================================
- Coverage   83.81%   83.81%   -0.01%     
==========================================
  Files         379      379              
  Lines       16668    16679      +11     
  Branches     2667     2670       +3     
==========================================
+ Hits        13971    13980       +9     
- Misses       2060     2061       +1     
- Partials      637      638       +1     
Impacted Files Coverage Δ
src/GraphQL/Types/Schema.cs 76.89% <92.85%> (+0.42%) ⬆️
...MicrosoftDI/MicrosoftDIGraphQLBuilderExtensions.cs 96.55% <100.00%> (-0.60%) ⬇️
src/GraphQL/Types/Collections/SchemaTypes.cs 85.33% <100.00%> (+0.08%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Shane32
Copy link
Member

Shane32 commented Feb 7, 2023

I would not change this until we have a consensus, and if deemed worthy, change all similar places. There is no reason why this particular instance is more or less susceptible to double registration than AddSchema, for example. We also have double registration in other places like the serializers and middleware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Pull request that adds new or changes existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy