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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions