Azure / Azure/data-api-builder

Sql: Should not be able to update the PK from GraphQL

Open
#419 1 comment 0 reactions 0 assignees View on GitHub
bug graphql
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 22h
Merged PRs (30d)
9

Description

The update GraphQL mutations allow ability to modify a PK even if its autogenerated. This should not be allowed.

Contributor guide

Open the contributing guide

Research direction

Start at the GraphQL update mutation entry points and trace how autogenerated primary keys are handled. Confirm completion by ensuring update mutations reject changes to autogenerated primary keys while preserving valid updates to other fields, and add or run the relevant mutation coverage if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, graphql, sql
Domain
api, database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.