Skip to content

Commit 3dc50da

Browse files
authored
Merge pull request #623 from graphql/inputUnionRFC-priorArt
inputUnion RFC: Add Prior Art section
2 parents 8e80d6a + 3d164bb commit 3dc50da

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rfcs/InputUnion.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,13 @@ There have been a variety of use cases described by users asking for an abstract
216216
* [Observability Cloud Integrations](https://gist.github.com/binaryseed/f2dd63d1a1406124be70c17e2e796891#cloud-integrations)
217217
* [Observability Dashboards](https://gist.github.com/binaryseed/f2dd63d1a1406124be70c17e2e796891#dashboards)
218218

219+
## Prior art
220+
221+
Other technologies/languages also faced the same problems and there things we can learn from them:
222+
223+
* [Wiki article on Tagged_union](https://en.wikipedia.org/wiki/Tagged_union)
224+
* [gRPC Oneof](https://developers.google.com/protocol-buffers/docs/proto3#oneof)
225+
219226
## Possible Solutions
220227

221228
Broadly speaking, there are two categories of solutions to the problem of type discrimination:

0 commit comments

Comments
 (0)