Commit graph

5 commits

Author SHA1 Message Date
Riccardo Binetti
98baf6f0be
feat: allow providing descriptions for enum values (#117)
* chore: update ash to use Ash.Type.Enum descriptions

Contextually, remove an unreachable clause that caused dyalizer to fail,
see https://github.com/ash-project/ash/pull/873 for the commit that made
it unreachable

* feat: allow providing descriptions for enum values

If the module exports `graphql_describe_enum_value/1`, use that. Otherwise,
fallback to the Ash.Type.Enum value descriptions introduced in
https://github.com/ash-project/ash/pull/940.

Close #116
2024-03-25 23:43:59 -04:00
Zach Daniel
000809b34f improvement: graphql_rename_value/1 for enums
docs: union guide & improved enum guide
2023-05-23 17:11:58 -04:00
Rebecca Le
5e87c52f9b
docs: Fix minor typos in headings (#53) 2023-01-23 22:42:11 -05:00
Barnabas Jovanovics
cf4dd38e39
docs: Fix constraints example in enum how_to (#51)
The Code Snippet gave me a compile error, telling me that `one_of` was not a valid options
2023-01-17 09:40:33 -05:00
Zach Daniel
f4cb9213b3 update to latest ash 2022-08-30 19:08:16 -06:00
Renamed from documentation/enums.md (Browse further)