# Do rover commands automatically assume v1 federation?

**URL:** <https://community.apollographql.com/t/do-rover-commands-automatically-assume-v1-federation/6707>\
**Category:** Other Apollo Topics\
**Created:** [September 12, 2023, 12:16pm UTC](https://community.apollographql.com/t/do-rover-commands-automatically-assume-v1-federation/6707 "2023-09-12T12:16:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernardo\_Amorim](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/bernardo_amorim/32/4576_2.png) [@Bernardo\_Amorim](https://community.apollographql.com/u/Bernardo_Amorim)\
**Post date:** [September 12, 2023, 12:16pm UTC](https://community.apollographql.com/t/do-rover-commands-automatically-assume-v1-federation/6707/1 "2023-09-12T12:16:18Z")

</div>

When trying to `rover subgraph check` a subgraph schema that uses a `@shareable` directive without either linking it or directly declaring it, I get the following error:

```auto
Unknown directive "@shareable". If you meant the "@shareable" federation 2 directive, note that this schema is a federation 1 schema. To be a federation 2 schema, it needs to @link to the federation specifcation v2

```

What exactly causes the command to assume a “federation 1 schema”? I’m using rover `0.10.0` and my supergraph, in spite of now being a `v2` one, previously was a `v1.9` one

---

<div class="post-metadata">

**Author:** ![shanemyrick](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/shanemyrick/32/5474_2.png) [@shanemyrick](https://community.apollographql.com/u/shanemyrick)\
**Post date:** [September 12, 2023, 8:56pm UTC](https://community.apollographql.com/t/do-rover-commands-automatically-assume-v1-federation/6707/2 "2023-09-12T20:56:37Z")

</div>

`rover subgraph check` does not do any composition. It takes your schema file and sends it to GraphOS where there your graph settings determine what version of Federation you are using.

The `@shareable` error is a common issue when upgrading from Fed v1 to v2. See how to resolve that in our [Migrating from Fed 1](https://www.apollographql.com/docs/federation/federation-2/new-in-federation-2#value-types) guide

---

<div class="post-metadata">

**Author:** ![Justin\_Gonzalez](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/justin_gonzalez/32/5359_2.png) [@Justin\_Gonzalez](https://community.apollographql.com/u/Justin_Gonzalez)\
**Post date:** [February 6, 2025, 8:48pm UTC](https://community.apollographql.com/t/do-rover-commands-automatically-assume-v1-federation/6707/3 "2025-02-06T20:48:25Z")

</div>

Archived on February 6, 2025, 8:48pm UTC


