Skip to content

chore: Deprecate project_id GQL argument #8046

chore: Deprecate project_id GQL argument

chore: Deprecate project_id GQL argument #8046

GitHub Actions / GraphQL Inspector failed Oct 28, 2024 in 1s

Something is wrong with your schema

Found 10 changes

Breaking: 3
Dangerous: 3
Safe: 4

Breaking changes

  • New arguments must include a description with a version number in the format Added in XX.XX.X., Description for argument project_id on field Queries.vfolder_nodes changed from Added in 24.09.0. to undefined
  • New arguments must include a description with a version number in the format Added in XX.XX.X., Description for argument project_id on field Queries.compute_session_node changed from Added in 24.09.0. to undefined
  • New arguments must include a description with a version number in the format Added in XX.XX.X., Description for argument project_id on field Queries.compute_session_nodes changed from Added in 24.09.0. to undefined

Dangerous changes

  • Argument scope_id: ScopeField added to field Queries.vfolder_nodes
  • Argument scope_id: ScopeField added to field Queries.compute_session_node
  • Argument scope_id: ScopeField added to field Queries.compute_session_nodes

Safe changes

  • Type ScopeField was added
  • Type for argument project_id on field Queries.vfolder_nodes changed from UUID! to UUID
  • Type for argument project_id on field Queries.compute_session_node changed from UUID! to UUID
  • Type for argument project_id on field Queries.compute_session_nodes changed from UUID! to UUID

Looking for more advanced tool? Try GraphQL Hive!

Annotations

Check notice on line 990 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

Type 'ScopeField' was added

Type 'ScopeField' was added

Check warning on line 119 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

Argument 'scope_id: ScopeField' added to field 'Queries.vfolder_nodes'

Adding a new argument to an existing field may involve a change in resolve function logic that potentially may cause some side effects.

Check failure on line 120 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

New arguments must include a description with a version number in the format "Added in XX.XX.X.", Description for argument 'project_id' on field 'Queries.vfolder_nodes' changed from 'Added in 24.09.0.' to 'undefined'

New arguments must include a description with a version number in the format "Added in XX.XX.X."

Check notice on line 120 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

Type for argument 'project_id' on field 'Queries.vfolder_nodes' changed from 'UUID!' to 'UUID'

Changing an input field from non-null to null is considered non-breaking.

Check warning on line 144 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

Argument 'scope_id: ScopeField' added to field 'Queries.compute_session_node'

Adding a new argument to an existing field may involve a change in resolve function logic that potentially may cause some side effects.

Check failure on line 145 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

New arguments must include a description with a version number in the format "Added in XX.XX.X.", Description for argument 'project_id' on field 'Queries.compute_session_node' changed from 'Added in 24.09.0.' to 'undefined'

New arguments must include a description with a version number in the format "Added in XX.XX.X."

Check notice on line 145 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

Type for argument 'project_id' on field 'Queries.compute_session_node' changed from 'UUID!' to 'UUID'

Changing an input field from non-null to null is considered non-breaking.

Check warning on line 154 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

Argument 'scope_id: ScopeField' added to field 'Queries.compute_session_nodes'

Adding a new argument to an existing field may involve a change in resolve function logic that potentially may cause some side effects.

Check failure on line 155 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

New arguments must include a description with a version number in the format "Added in XX.XX.X.", Description for argument 'project_id' on field 'Queries.compute_session_nodes' changed from 'Added in 24.09.0.' to 'undefined'

New arguments must include a description with a version number in the format "Added in XX.XX.X."

Check notice on line 155 in src/ai/backend/manager/api/schema.graphql

See this annotation in the file changed.

@github-actions github-actions / GraphQL Inspector

Type for argument 'project_id' on field 'Queries.compute_session_nodes' changed from 'UUID!' to 'UUID'

Changing an input field from non-null to null is considered non-breaking.