prisma / prisma-1-cloud-feedback

Feedback for Prisma Cloud
https://app.prisma.io
5 stars 4 forks source link

Data Browser lists column type as [Foo!] instead of [Foo!]! as it's defined #224

Closed samuela closed 5 years ago

samuela commented 5 years ago

I have the following schema:

type User {
  id: ID! @unique
  createdAt: DateTime!
  updatedAt: DateTime!
  emailAndPassAuth: EmailAndPasswordAuth
  # githubAuth: GithubAuth
  accessTokens: [AccessToken!]! @relation(name: "UserAccessTokens", onDelete: CASCADE)
}

type EmailAndPasswordAuth {
  id: ID! @unique
  createdAt: DateTime!
  updatedAt: DateTime!
  email: String! @unique
  passwordHashed: String!
}

type AccessToken {
  id: ID! @unique
  createdAt: DateTime!
  updatedAt: DateTime!
  user: User! @relation(name: "UserAccessTokens")
  tokenHashed: String!
}

but when I go to check out the Data Browser I see:

screen shot 2018-10-24 at 12 17 24 pm

which doesn't really make sense.

lydiahallie commented 5 years ago

Thanks for reporting, this is fixed by now! If this is still an issue, let us know and we reopen this.