Generates Absinthe types, queries, and mutations from a
Caravela.Schema.Domain.
Produces three files, one per Absinthe schema area:
lib/<web>/schema/<context>_types.ex— object typeslib/<web>/schema/<context>_queries.ex— list/get querieslib/<web>/schema/<context>_mutations.ex— create/update/delete
All three modules delegate to the context module generated by
Caravela.Gen.Context, so authorization, hooks, and (when enabled)
multi-tenant scoping flow through the Absinthe resolvers for free.
Tenant-injected fields are hidden from both the public object type and the input_object — tenant id comes from the Absinthe context map, not the client.
Returns a list of {path, source} tuples. The caller writes files.
Files preserve content below the # --- CUSTOM --- marker on
regeneration.
Summary
Functions
Render Absinthe types, queries, and mutations.
Render the Absinthe mutations file.
Render the Absinthe queries file.
Render the Absinthe types file.