Skip to content

Commit 3d164bb

Browse files
inputUnion RFC: Add Prior Art section
1 parent 4894884 commit 3d164bb

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
@@ -149,6 +149,13 @@ There have been a variety of use cases described by users asking for an abstract
149149
* [Observability Cloud Integrations](https://gist.github.com/binaryseed/f2dd63d1a1406124be70c17e2e796891#cloud-integrations)
150150
* [Observability Dashboards](https://gist.github.com/binaryseed/f2dd63d1a1406124be70c17e2e796891#dashboards)
151151

152+
## Prior art
153+
154+
Other technologies/languages also faced the same problems and there things we can learn from them:
155+
156+
* [Wiki article on Tagged_union](https://en.wikipedia.org/wiki/Tagged_union)
157+
* [gRPC Oneof](https://developers.google.com/protocol-buffers/docs/proto3#oneof)
158+
152159
## Possible Solutions
153160

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

0 commit comments

Comments
 (0)