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

[Introspection] ID = (Scalar, RelationField) #1112

Closed
janpio opened this issue Dec 6, 2019 · 6 comments
Closed

[Introspection] ID = (Scalar, RelationField) #1112

janpio opened this issue Dec 6, 2019 · 6 comments
Assignees
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. topic: introspection
Milestone

Comments

@janpio
Copy link
Member

janpio commented Dec 6, 2019

mix of https://github.com/prisma/prisma-engine/issues/253 and https://github.com/prisma/prisma-engine/issues/252

@sorenbs
Copy link
Member

sorenbs commented Dec 8, 2019

Depends on prisma/specs#345

@sorenbs
Copy link
Member

sorenbs commented Dec 9, 2019

Temporary Guardrail

Probably similar guardrail as https://github.com/prisma/prisma-engine/issues/252

@janpio janpio transferred this issue from prisma/prisma-engines Dec 10, 2019
@janpio janpio added this to the Preview 19 milestone Dec 10, 2019
@pantharshit00 pantharshit00 added bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. labels Dec 11, 2019
@janpio janpio modified the milestones: Preview 19, Preview 20 Dec 19, 2019
@janpio janpio modified the milestones: Preview 20, Preview 21 Jan 17, 2020
@mavilein
Copy link
Member

@do4gr will check whether the guardrail is in place

@janpio
Copy link
Member Author

janpio commented Feb 18, 2020

Next step:
Create a SQL schema that has this problem: A compound Primary Key, where one of the columns, is also a Foreign Key (e.g. id + user_id)

@janpio
Copy link
Member Author

janpio commented Feb 24, 2020

Turns out we have a lot of these in the Introspection CI schemas:
#1681

@do4gr
Copy link
Member

do4gr commented Mar 18, 2020

Closed via prisma/prisma-engines#578

@do4gr do4gr closed this as completed Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. topic: introspection
Projects
None yet
Development

No branches or pull requests

7 participants