Skip to content

Commit

Permalink
fix: corrects spec for graphql_unnested_unions/1 (#103)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Joss <alex.joss@coinbits.app>
  • Loading branch information
infinitis and infinitis authored Nov 30, 2023
1 parent e95c952 commit 4517a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/type.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ defmodule AshGraphql.Type do
See [the unions guide](/documentation/how_to/use-unions-with-graphql.md) for more.
"""
@callback graphql_unnested_unions(Ash.Type.constraints()) :: :atom
@callback graphql_unnested_unions(Ash.Type.constraints()) :: [atom()]

@optional_callbacks graphql_type: 1,
graphql_input_type: 1,
Expand Down

0 comments on commit 4517a27

Please sign in to comment.