Alexander

Results 64 comments of Alexander

I think there is a better solution: a subclass of an enum and using class keyword arguments. Also with adapter function would look like: ``` python class Foo(strawberry.Enum, description="foo") ```...

in some way like the graphene Enum

I will upload a draft

see #2203 can be used like ```python from strawberry import StrawberryEnum class Foo(str, StrawberryEnum, name="j"): a = "test" ``` Limitation: needs type

the limitation has been lifted and it seems that only some small issues remain Is there interest in my solution? Shall I continue working on it? anyway: to remove the...

why is a new option introduced? Why not just checking if the type is a multiple-select and addItems is set? Edit: I misunderstood the addItems flag

I reworked this PR and made an other PR: https://github.com/jshjohnson/Choices/pull/856 There are many edge cases which need to be handled (like disabled options).

There is one missing part: the uniqueText doesn't show up with select boxes, but the creation is correctly prevented