Neuron.Fragment.register
You're seeing just the function
register
, go back to Neuron.Fragment module for more information.
Specs
register(query_string :: String.t()) :: :ok
registers a fragment that will automatically be added to future mutations and queries that require it
Example
iex> Neuron.Fragment.register("
...> NameParts on Person {
...> firstName
...> lastName
...> }
...> ")
:ok
Specs
register(context :: :global | :process, query_string :: String.t()) :: :ok