Skip to content

fix: the example of a storage path shows a placeholder where the name is the caller's - #16

Merged
rodrigoteamx merged 2 commits into
mainfrom
fix/examples-are-forms
Oct 7, 2026
Merged

rodrigoteamx merged 2 commits into
mainfrom
fix/examples-are-forms

Conversation

@rodrigoteamx

Copy link
Copy Markdown
Contributor

The teaching error of the file driver showed a path with a collection
of its own choosing. That error is read by whoever configures storage,
whatever they are building. Its example now shows the form of the path:
'/var/data/<collection>.json'.

Tested positively: where the example of a driver's key has to name the
thing being stored into, it shows a placeholder for what is the
caller's to name, or the app itself. With the error as it was, that
test is red.

One cost, measured: a path copied with its placeholder is accepted, and
the rows land in a file of that name. Nothing refuses it.

The second commit keeps tests/ out of the archive Composer installs.

… is the caller's

The teaching error of the file driver showed a path with a collection
of its own choosing. That error is read by whoever configures storage,
whatever they are building. Its example now shows the form of the
path: '/var/data/<collection>.json'.

Tested positively: where the example of a driver's key has to name the
thing being stored into, it shows a placeholder for what is the
caller's to name, or the app itself.
A house that installs this package received its tests too: as many
bytes as the code it runs, and never run there. They are marked out of
the archive Composer downloads. Nothing else is: the tools and the
workflows of a package can be read by others from that same archive.
@rodrigoteamx
rodrigoteamx merged commit 6ded74c into main Oct 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant