Voytek Pituła
Voytek Pituła
Hey, this is also a problem with codegen tools, that relies on schema to generate proper enums. Right now possible enum values cannot be detected by such tools as postgres...
@mnlbox I may not have phrased myself clearly enough. Im using codegen tool to generate scala code which will be used as a hasura client. The codegen relies on schema...
@dsandip what about postgres enums that we already have? For cases when we want to have control over database and only serve it with hasura.
Hmm, so it means that if I have a defined enum type and a table using it it will just work? Example: ``` CREATE TYPE mood AS ENUM ('sad', 'ok',...
Yes, this I'm aware of. I was hoping that my postgres enums will be expressed as graphql enums in schema.
I lack the required macro expertise, but I think I pinpointed the issue. [Here](https://github.com/lloydmeta/enumeratum/blob/master/macros/src/main/scala-3/enumeratum/EnumMacros.scala#L156) we check if the child is of an entry type (`Foo2[Unit]` in my example). Obviously `Bar[T]`...
Hmm, but that's a significantly different scenario. In the example from the ending of the first post, you can see that the goal is to define two specialized enums. We...
> there may be adjustments but my point is the initial premise that hierarchies with type params don't work ... doesn't work. Hmm, yes, they seem to work if we......
> Wildcards in type params removing any value from type params, is an interesting take where indeed I think we will need to agree to disagree. Sorry, I might have...
Hey, any chance of getting this released soon?