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

Using permissions with Postgres enum field doesn't show comparing options #3603

Closed
garlou opened this issue Dec 30, 2019 · 2 comments
Closed
Assignees
Labels
c/console Related to console e/easy can be wrapped up in a couple of days k/bug Something isn't working p/high candidate for being included in the upcoming sprint s/wip Status: This issue is a work in progress

Comments

@garlou
Copy link

garlou commented Dec 30, 2019

I'm using typeorm to manage my database migrations and when I use typescript enums, typeorm generates a Postgres table like this:
Screenshot 2019-12-30 11 42 23

When I try to setup a permission, the dropdown select is empty:
Screenshot 2019-12-30 11 43 01

Workaround:
Save permission as it is, export hasura metadata and then manually edit the metadata.yaml:
Screenshot 2019-12-30 11 44 32
to
Screenshot 2019-12-30 11 44 50

Then apply the fixed metadata file on server.

@0x777 0x777 added the c/console Related to console label Dec 30, 2019
@nick4u
Copy link

nick4u commented Jan 15, 2020

Any chance for having this in 1.1?

@rikinsk
Copy link
Member

rikinsk commented Jan 15, 2020

@nick4u Unfortunately the feature set for v1.1 is already frozen. We'll aim to get this fixed in v1.2

@rikinsk rikinsk added e/easy can be wrapped up in a couple of days k/bug Something isn't working p/high candidate for being included in the upcoming sprint labels Jan 15, 2020
@rikinsk rikinsk added the s/wip Status: This issue is a work in progress label Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/console Related to console e/easy can be wrapped up in a couple of days k/bug Something isn't working p/high candidate for being included in the upcoming sprint s/wip Status: This issue is a work in progress
Projects
None yet
Development

No branches or pull requests

4 participants