Mithras

Results 55 comments of Mithras

related https://github.com/graphql-dotnet/graphql-dotnet/pull/3144

> A reminder that there are already some federation types that look almost exactly the same as these used with schema-first. Probably want to figure out some reuse there. I...

@joemcbride Let me first look into supporting schema-first in my implementation and then we can decide on either merging or deprecating the old one completely.

@joemcbride do you know why I see this changes when running tests locally but in CI they are not present? `/workspaces/graphql-dotnet/src/GraphQL.ApiTests/netstandard20+netstandard21/GraphQL.approved.txt` ![image](https://user-images.githubusercontent.com/2098029/169373309-0c19e636-e7ee-4d96-ab26-97c0cb2f8c61.png)

Oh, ok. I rolled back these lines for now. I'll re-run tests after rebasing.

I also see these changes which also seems to be VS Code version related: ![image](https://user-images.githubusercontent.com/2098029/169374509-3b53322f-293e-4856-8c1f-d6cba7078165.png)

I've added schema-first Federation 2 support. Can you please review and let me know if it's ok to remove existing Federation classes?

Added `SchemaPrinterOptions` to `.AddFederation()` extension so that it's possible to expose `@deprecated` directives and/or descriptions from subgraphs.

Fixed KeyAttribute to allow multiple keys (AllowMultiple = true).