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

Problematic mapping from PostgresSQL's bigint to number in JS #220

Open
sonallux opened this issue Oct 8, 2020 · 0 comments
Open

Problematic mapping from PostgresSQL's bigint to number in JS #220

sonallux opened this issue Oct 8, 2020 · 0 comments

Comments

@sonallux
Copy link
Contributor

sonallux commented Oct 8, 2020

PostgresSQL's bigint data type is currently used for all ids in all databases. Those ids are nearly everywhere mapped to number in TS/JS, which is problematic because bigint is a 64-bit integer value whereas number is only a 53-bit integer value.

As discussed with @georg-schwarz and @mathiaszinnen it is desired that the type of those numeric ids should be changed to strings, to solve this issue. Users should then also able to chose their own speaking names for the ids, so they can more easily remember and work with them.

@mathiaszinnen mathiaszinnen added this to To do in ODS Development Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant