Today, if you run the command like: hive introspect [url], it loads the schema like this:
schema {
query: Query
mutation: Mutation
}
# ...
Comparing with rover CLI, that's how they bring the same introspected schema:
extend schema
@link(url: "https://specs.apollo.dev/link/v1.0")
@link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@key", "@shareable", "@external", "@override", "@requires"])
{
query: Query
mutation: Mutation
}
# ...
I do believe that could be possible to add a flag on introspect commmand to let it be introspected with this Apollo Federation layer of compatibility.