Skip to content

Add support for Federation v2.7 (progressive @override) #195

Add support for Federation v2.7 (progressive @override)

Add support for Federation v2.7 (progressive @override) #195

Triggered via pull request January 19, 2024 21:59
Status Failure
Total duration 2m 16s
Artifacts 1

pr-check.yaml

on: pull_request
integration  /  compatibility-annotationbased
52s
integration / compatibility-annotationbased
integration  /  compatibility-codefirst
1m 29s
integration / compatibility-codefirst
Fit to window
Zoom out
Zoom in

Annotations

1 error and 41 warnings
integration / compatibility-annotationbased
Command failed with exit code 1: npx @apollo/rover supergraph compose --config supergraph-config.yaml npm WARN exec The following package was not found and will be installed: @apollo/rover@0.22.0 ⌛ resolving SDL for subgraphs defined in supergraph-config.yaml downloading the 'supergraph' plugin from https://rover.apollo.dev/tar/supergraph/x86_64-unknown-linux-gnu/v2.5.1 the 'supergraph' plugin was successfully installed to /home/runner/.npm/_npx/24f313e0e426ac07/node_modules/binary-install/node_modules/.bin/supergraph-v2.5.1 🎶 composing supergraph with Federation v2.5.1 error[E029]: Encountered 1 build error while trying to build a supergraph. Caused by: UNKNOWN_FEDERATION_LINK_VERSION: [products] Invalid version v2.7 for the federation feature in @link direction on schema The subgraph schemas you provided are incompatible with each other. See https://www.apollographql.com/docs/federation/errors/ for more information on resolving build errors.
build / build: Federation/Helpers/ReferenceResolverArgumentExpressionBuilder.cs#L111
Possible null reference argument for parameter 'defaultValue' in 'TContextData ReferenceResolverArgumentExpressionBuilder.GetScopedStateWithDefault<TContextData>(IPureResolverContext context, IReadOnlyDictionary<string, object> contextData, string key, bool hasDefaultValue, TContextData defaultValue)'.
build / build: Federation.Tests/EntitiesResolverTests.cs#L210
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
build / build: Federation.Tests/One/FederationSchemaPrinterTests.cs#L228
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
build / build: Federation.Tests/CertificationSchema/AnnotationBased/Types/Query.cs#L6
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
build / build: Federation.Tests/CertificationSchema/AnnotationBased/Types/User.cs#L6
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
build / build: Federation.Tests/EntitiesResolverTests.cs#L165
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
build / build: Federation.Tests/EntitiesResolverTests.cs#L188
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
build / build: Federation.Tests/CertificationSchema/CodeFirst/Types/UserType.cs#L9
'ApolloFederationDescriptorExtensions.ExtendServiceType<T>(IObjectTypeDescriptor<T>)' is obsolete: 'Use ExtendsType type instead'
build / build: Federation.Tests/CertificationSchema/CodeFirst/Types/QueryType.cs#L10
'ApolloFederationDescriptorExtensions.ExtendServiceType(IObjectTypeDescriptor)' is obsolete: 'Use ExtendsType type instead'
integration / compatibility-annotationbased: Federation/Helpers/ReferenceResolverArgumentExpressionBuilder.cs#L111
Possible null reference argument for parameter 'defaultValue' in 'TContextData ReferenceResolverArgumentExpressionBuilder.GetScopedStateWithDefault<TContextData>(IPureResolverContext context, IReadOnlyDictionary<string, object> contextData, string key, bool hasDefaultValue, TContextData defaultValue)'.
integration / compatibility-annotationbased: Compatibility/AnnotationBased/Types/CustomSchema.cs#L18
'CustomSchema.FederationVersion' hides inherited member 'FederatedSchema.FederationVersion'. Use the new keyword if hiding was intended.
integration / compatibility-annotationbased: Federation.Tests/One/FederationSchemaPrinterTests.cs#L228
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
integration / compatibility-annotationbased: Federation.Tests/CertificationSchema/AnnotationBased/Types/Query.cs#L6
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
integration / compatibility-annotationbased: Federation.Tests/CertificationSchema/AnnotationBased/Types/User.cs#L6
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
integration / compatibility-annotationbased: Federation.Tests/EntitiesResolverTests.cs#L210
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
integration / compatibility-annotationbased: Federation.Tests/EntitiesResolverTests.cs#L165
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
integration / compatibility-annotationbased: Federation.Tests/EntitiesResolverTests.cs#L188
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
integration / compatibility-annotationbased: Federation.Tests/CertificationSchema/CodeFirst/Types/UserType.cs#L9
'ApolloFederationDescriptorExtensions.ExtendServiceType<T>(IObjectTypeDescriptor<T>)' is obsolete: 'Use ExtendsType type instead'
integration / compatibility-annotationbased
Error: ENOENT: no such file or directory, open 'results.md'
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
integration / compatibility-codefirst: Federation/Helpers/ReferenceResolverArgumentExpressionBuilder.cs#L111
Possible null reference argument for parameter 'defaultValue' in 'TContextData ReferenceResolverArgumentExpressionBuilder.GetScopedStateWithDefault<TContextData>(IPureResolverContext context, IReadOnlyDictionary<string, object> contextData, string key, bool hasDefaultValue, TContextData defaultValue)'.
integration / compatibility-codefirst: Compatibility/AnnotationBased/Types/CustomSchema.cs#L18
'CustomSchema.FederationVersion' hides inherited member 'FederatedSchema.FederationVersion'. Use the new keyword if hiding was intended.
integration / compatibility-codefirst: examples/CodeFirst/Reviews/Types/UserType.cs#L9
'ApolloFederationDescriptorExtensions.ExtendServiceType<T>(IObjectTypeDescriptor<T>)' is obsolete: 'Use ExtendsType type instead'
integration / compatibility-codefirst: examples/CodeFirst/Reviews/Types/ProductType.cs#L9
'ApolloFederationDescriptorExtensions.ExtendServiceType<T>(IObjectTypeDescriptor<T>)' is obsolete: 'Use ExtendsType type instead'
integration / compatibility-codefirst: examples/CodeFirst/Inventory/Types/ProductType.cs#L9
'ApolloFederationDescriptorExtensions.ExtendServiceType<T>(IObjectTypeDescriptor<T>)' is obsolete: 'Use ExtendsType type instead'
integration / compatibility-codefirst: Federation.Tests/CertificationSchema/AnnotationBased/Types/Query.cs#L6
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
integration / compatibility-codefirst: Federation.Tests/CertificationSchema/AnnotationBased/Types/User.cs#L6
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
integration / compatibility-codefirst: Federation.Tests/EntitiesResolverTests.cs#L210
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'
integration / compatibility-codefirst: Federation.Tests/EntitiesResolverTests.cs#L165
'ExtendServiceTypeAttribute' is obsolete: 'Use ExtendsAttribute instead'

Artifacts

Produced during runtime
Name Size
compatibility-results Expired
1009 Bytes