Skip to content

vscode plugin prompt autocomplete from wrong collection in @relation(references: [...]) #2746

Description

@hechang27-sprt

Description and expected behavior

model A {
  aId String
}

model B {
  targetId String
  
  target A @relation(fields: [targetId], references: [ /* mistakenly prompts fields in B instead of A */ ])
}

version 3.8.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions