You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a1d41d1
Browse filesBrowse the repository at this point in the historyBrowse files
docs(changelog): the expose option on both routes generators
Covers #348. States the two rulings rather than just the feature: why an option
rather than the `filter` remedy that answered @emit* (filter decides whether the
file emits at all, so it cannot express a verb subset), and why not metadata
(which verbs a deployment exposes is a property of the app, not the model).
Also records that the fixed read-only TPH mount INTERSECTS rather than being
replaced, so the option can narrow it but never widen it into a route that fails
at runtime.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,42 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
8
8
## [Unreleased]
9
9
10
+
### Added — `expose` on both routes generators: mount fewer than five CRUD verbs
11
+
12
+
([#348](https://github.com/metaobjectsdev/metaobjects/issues/348)) `expose` has always
13
+
existed on the runtime mount helpers, and across **both** generated route emitters exactly
14
+
one call site passed it — the TPH polymorphic mount's hardcoded `["list", "get"]`. For a
15
+
vanilla or write-through entity, neither Fastify nor Hono could restrict verbs. The issue
0 commit comments