Skip to content

Commit

Permalink
edits
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Jan 17, 2024
1 parent 50203fb commit 6b4edfc
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ public static IObjectTypeDescriptor<T> ExtendServiceType<T>(
{
ArgumentNullException.ThrowIfNull(descriptor);

descriptor.Directive(ExtendServiceTypeDirective.Default);
if (descriptor.Extend().Context.GetFederationVersion() == FederationVersion.Federation10)
{
descriptor.Directive(ExtendServiceTypeDirective.Default);
}

return descriptor;
}

Expand Down

0 comments on commit 6b4edfc

Please sign in to comment.