Repository navigation
Move Peer vs Client API digression to end of Find specs chapter - #43
Merged
Merged
Conversation
The chapter opened with a 4-paragraph API digression before the learner had run a single find spec, front-loading implementation detail ahead of the intrinsic concept (the four result shapes). Moved it into a collapsed "Under the hood" section at the end. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<details>"Under the hood: Peer API vs Client API" box at the end of the chapter, so a reader can skip it and lose nothing needed later.Verified at a REPL against this site's actual database: the Client API rejects a scalar find (
[:find ?name . :where ...]) withOnly find-rel elements are allowed in client :find, confirming the digression's core claim before moving it.Out of scope, left for a separate pass: the ticket's suggestion #3 ("state once, early, e.g. in Modeling, that samples use
datomic.client.api") touchesmodeling-data.edn, outside this ticket's file scope.Closes #36
Test plan
clojure -X:test— 32 tests, 493 assertions, 0 failures🤖 Generated with Claude Code