internal/

directory
v0.0.0-...-b6261dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2026 License: MIT

Directories

Path Synopsis
fixtures
basic/basicent/schema
Package schema holds the hand-written ent schema for the "basic" codegen fixture.
Package schema holds the hand-written ent schema for the "basic" codegen fixture.
collide/collideent/schema
Package schema holds the hand-written ent schema for the "collide" codegen fixture.
Package schema holds the hand-written ent schema for the "collide" codegen fixture.
edges/edgesent/schema
Package schema holds the hand-written ent schema for the "edges" codegen fixture.
Package schema holds the hand-written ent schema for the "edges" codegen fixture.
fieldshapes/fieldshapesent/schema
Package schema holds the hand-written ent schemas for the "fieldshapes" codegen fixture: the field shapes that are legal ent but that the generator historically turned into source that does not compile (#10).
Package schema holds the hand-written ent schemas for the "fieldshapes" codegen fixture: the field shapes that are legal ent but that the generator historically turned into source that does not compile (#10).
httpdemo/httpdemoent/schema
Package schema defines the generated HTTP tracer-bullet fixture.
Package schema defines the generated HTTP tracer-bullet fixture.
immutable/immutableent/schema
Package schema holds the hand-written ent schema for the "immutable" codegen fixture: Ent Immutable fields derive out of PATCH without a second opinion.
Package schema holds the hand-written ent schema for the "immutable" codegen fixture: Ent Immutable fields derive out of PATCH without a second opinion.
intid/intident/schema
Package schema holds the hand-written ent schema for the "intid" codegen fixture: a domain-annotated entity whose primary key is not a UUID.
Package schema holds the hand-written ent schema for the "intid" codegen fixture: a domain-annotated entity whose primary key is not a UUID.
methodcollision/methodcollisionent/schema
Package schema holds the hand-written ent schemas for the "methodcollision" codegen fixture (#113): a schema whose FIELD name collides with a method the patch DTO generates onto the same receiver.
Package schema holds the hand-written ent schemas for the "methodcollision" codegen fixture (#113): a schema whose FIELD name collides with a method the patch DTO generates onto the same receiver.
presence/presenceent/schema
Package schema holds the hand-written ent schema for the "presence" codegen fixture: the field shapes whose create and patch behaviour depends on being able to tell an absent key from an explicit null from a value (#26).
Package schema holds the hand-written ent schema for the "presence" codegen fixture: the field shapes whose create and patch behaviour depends on being able to tell an absent key from an explicit null from a value (#26).
query/queryent/schema
Package schema holds the hand-written ent schemas for the "query" codegen fixture: the field shapes the filter, free-text search and sort allow-list generation is derived from (#27).
Package schema holds the hand-written ent schemas for the "query" codegen fixture: the field shapes the filter, free-text search and sort allow-list generation is derived from (#27).
queryconflict/queryconflictent/schema
Package schema holds the hand-written ent schema for the "queryconflict" fixture: query annotations that contradict what ent generates for the field they are attached to.
Package schema holds the hand-written ent schema for the "queryconflict" fixture: query annotations that contradict what ent generates for the field they are attached to.
requirededge/requirededgeent/schema
Package schema holds the hand-written ent schema for the "requirededge" codegen REFUSAL fixture (#110).
Package schema holds the hand-written ent schema for the "requirededge" codegen REFUSAL fixture (#110).
reservednames/reservednamesent/schema
Package schema holds the hand-written ent schemas for the "reservednames" codegen fixture (#62): a schema whose entity NAME collides with a symbol this extension generates.
Package schema holds the hand-written ent schemas for the "reservednames" codegen fixture (#62): a schema whose entity NAME collides with a symbol this extension generates.
selfref/selfrefent/schema
Package schema holds the hand-written ent schema for the "selfref" codegen fixture: a self-referential edge pair declared in the CHAINED form, which is the authoring trap #30 makes a generation error.
Package schema holds the hand-written ent schema for the "selfref" codegen fixture: a self-referential edge pair declared in the CHAINED form, which is the authoring trap #30 makes a generation error.
selfrefpartial/selfrefpartialent/schema
Package schema holds the hand-written ent schema for the "selfrefpartial" codegen fixture.
Package schema holds the hand-written ent schema for the "selfrefpartial" codegen fixture.
sensitive/sensitiveent/schema
Package schema holds the hand-written ent schema for the "sensitive" codegen fixture.
Package schema holds the hand-written ent schema for the "sensitive" codegen fixture.
softdelete/softdeleteent/schema
Package schema holds the hand-written ent schemas for the "softdelete" codegen fixture: the three shapes the soft-delete traverser generation has to tell apart (#18).
Package schema holds the hand-written ent schemas for the "softdelete" codegen fixture: the three shapes the soft-delete traverser generation has to tell apart (#18).
stale/annotated/schema
Package schema is the FIRST of the two schemas behind the "stale" fixture: Sprocket carries entapi annotations, so generation writes DTO, base service and base handler files for it.
Package schema is the FIRST of the two schemas behind the "stale" fixture: Sprocket carries entapi annotations, so generation writes DTO, base service and base handler files for it.
stale/plain/schema
Package schema is the SECOND of the two schemas behind the "stale" fixture: byte-for-byte the entity shapes of internal/fixtures/stale/annotated/schema with Sprocket's entapi annotations removed.
Package schema is the SECOND of the two schemas behind the "stale" fixture: byte-for-byte the entity shapes of internal/fixtures/stale/annotated/schema with Sprocket's entapi annotations removed.
strictquery/strictqueryent/schema
Package schema holds the hand-written ent schema for the "strictquery" codegen fixture.
Package schema holds the hand-written ent schema for the "strictquery" codegen fixture.
wiring/wiringent/schema
Package schema holds the hand-written ent schemas for the "wiring" codegen fixture: the shapes the generated one-line wiring has to survive (#28).
Package schema holds the hand-written ent schemas for the "wiring" codegen fixture: the shapes the generated one-line wiring has to survive (#28).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL