A concept sits in the vocabulary only when real screens demand it and no composition of the existing concepts expresses it. Both clauses are required.
A concept sits in the vocabulary only when real screens demand it and no
composition of the existing concepts expresses it. Both clauses are
required.
Baton does not try to solve every problem a data layer meets. It does more
with less: few concepts, each with a clear design and a careful
implementation. Everything else is a directive the compiler already
understands, a value on a handle, or an example.
GraphQL clients die of configuration, as each real complaint becomes an
option: a cache policy here, a type policy there, a merge function, a link
in a chain, a flag on codegen. Ten years later the client has four codegen
modes, a dozen cache policies and a documentation site explaining which
combinations work. The complaints were real, but the answers multiplied the
surface instead of fixing the mechanism.
Breadth also costs depth. Each concept has to be designed, measured, proved
against the oracle and built once per runtime. A client that covers twice
the ground does each part half as well, and the half shows in the first
frame and in the bugs.
The opposite failure is a client so pure it cannot do the job. Pagination,
optimistic updates and error handling are real, and a store that refuses
them is a demo.
The server answers TestAddNote(characterId: "1", text: "Appended", connections: ["Character:1:__TestNotes_notes_connection"]) with tests/add-note-n9.json, and the environment commits it as a server batch.
Plate 1. A list edited by a directive on a payload: a composition of connection, plan and store, not a concept of its own.
The concept inventory is closed and short: schema, document, directive,
lens, record, store, plan, operation value, connection, environment,
transport, phase. A feature must be a composition of these, or a Relay
directive the compiler compiles into a plan. A new concept must pay for
itself across many features, and it enters through this test:
Real screens demand it: screens people build, not screens a completeness
argument names.
No composition of the existing concepts expresses it.
When the test passes, the concept gets a name in the terminology before it
gets a type in code, and a principle file if it constrains the others.
Subtraction is a contribution: a concept that stops paying for itself is
removed before 1.0.
Leaving a problem unsolved is a fair answer. The app, an example or the
watch list can own it. A half-built feature in the library is not.
Requests that fail the test become examples: here is how to do that with
what exists.
Imperative store updaters, a binary wire format and offline sync are on
a watch list with triggers, not in the plan. Page-based pagination was
there until a second real schema without cursors met its trigger
(the decision).
The terminology is the gate, and nothing ships that is not named there.
The inventory is closed as the twelve concepts listed above.
The terminology marks each of its entries with its
place: the concept it is or is a form of, or the concepts it is a
composition of. The watch list, each item with the trigger that would
promote it, lives in the project's planning notes, which are not published.
This section may rot. The rest must not.