Skip to content

Commit

Permalink
port: maintain support for [email protected] behavior (#119)
Browse files Browse the repository at this point in the history
This brings the same contribution that @sachindshinde offered up in
#1081 which I believe to be
important for us to land on our current working branch as well (since
otherwise I think it will get stomped on and lost)
  • Loading branch information
abernix committed Oct 25, 2021
1 parent a2694f9 commit 010b1d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core-js/src/supergraphs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ function checkFeatureSupport(coreFeatures: CoreFeatures) {
}

for (const feature of coreFeatures.allFeatures()) {
if (!feature.purpose) {
continue;
}
if (feature.purpose === 'EXECUTION' || feature.purpose === 'SECURITY') {
if (feature.url.equals(coreVersionZeroDotOneUrl) || feature.purpose === 'EXECUTION' || feature.purpose === 'SECURITY') {
if (!SUPPORTED_FEATURES.has(feature.url.base.toString())) {
errors.push(ErrUnsupportedFeature(feature));
}
Expand Down

0 comments on commit 010b1d0

Please sign in to comment.