Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for other shared types #14

Open
pattobrien opened this issue Jul 13, 2024 · 1 comment
Open

Support for other shared types #14

pattobrien opened this issue Jul 13, 2024 · 1 comment

Comments

@pattobrien
Copy link

Thanks for the package! I'm curious if you had any thoughts on adding other Shared Types, like Lists, Text, etc. I'd be happy to help contribute where possible as well!

@cachapa
Copy link
Owner

cachapa commented Jul 18, 2024

The reason we stick to very basic values is because this package is meant to be implemented by various different backend technologies like no-sql, sql, flat maps, etc.

The more specialized types we add, the larger the surface for potential incompatibility down the line is introduced.

For example, Lists are difficult to represent in SQL engines, and Sqlite doesn't support DateTime types.

I'm also not sure what you mean by Text type - Strings are already supported and they're actually the most common fallback to represent all other types, e.g. DateTime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants