Skip to content

Commit

Permalink
Update swift-identifiable.md
Browse files Browse the repository at this point in the history
  • Loading branch information
x-sheep authored Nov 27, 2024
1 parent b3cd87b commit 4656a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo-ios/Design/swift-identifiable.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public var id: String { self.uuid }

If the identity field is not called `id`, but another field called `id` is present in the selection, a custom getter cannot be added. Swift does not support using another field to handle the conformance.

In this case, a conformance to Identifiable SHOULD NOT be generated.
In this case, a conformance to Identifiable SHOULD NOT be generated. Codegen should emit a warning without stopping the generation process.

# Alternatives

Expand Down

0 comments on commit 4656a47

Please sign in to comment.