Xata
Create
Log in
Sign up
Home
Feedback
Feature Requests
Voters
Elcio Paludo
Gustavo
Max
D
Dmitry Utkin
Powered by Canny
4
Union type
D
Dmitry Utkin
It's very common to have a set of entities with different types under one "collection".
Specifically, you can have a look at typescript's discriminated unions 🙏
https://basarat.gitbook.io/typescript/type-system/discriminated-unions
January 21, 2023
Powered by Canny