feat(sdk): add manual configuration for publishEvents#653
Merged
Conversation
🦋 Changeset detectedLatest commit: 6b5f1db The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
toiroakr
reviewed
Mar 3, 2026
Contributor
toiroakr
left a comment
There was a problem hiding this comment.
It would be better to include the configuration methods and use cases in the documentation as well.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
6e757cc to
0e4f98f
Compare
This comment has been minimized.
This comment has been minimized.
0e4f98f to
0cd1d7c
Compare
This comment has been minimized.
This comment has been minimized.
…es and resolvers - Add publishEvents option to TypeFeatures interface for TailorDB types - Add publishEvents option to ResolverSchema for resolvers - Auto-detect when executor uses type/resolver and enable publishing - Respect explicit false setting; throw error if executor conflicts - Update snapshot manifest generation to read publishEvents - Add documentation for the feature Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0cd1d7c to
6b5f1db
Compare
Code Metrics Report (packages/sdk)
Details | | main (669693d) | #653 (addeb95) | +/- |
|--------------------|----------------|----------------|-------|
+ | Coverage | 50.2% | 50.3% | +0.0% |
| Files | 258 | 258 | 0 |
| Lines | 8672 | 8698 | +26 |
+ | Covered | 4362 | 4378 | +16 |
+ | Code to Test Ratio | 1:0.4 | 1:0.4 | +0.0 |
| Code | 50113 | 50253 | +140 |
+ | Test | 20169 | 20256 | +87 |Code coverage of files in pull request scope (56.5% → 56.6%)
SDK Configure Bundle Size
Runtime Performance
Type Performance (instantiations)
Reported by octocov |
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
publishEventsoption on TailorDB types and resolverspublishEventsis automatically set totruewhen an executor uses the type/resolver with relevant triggersfalsewhile an executor uses the type/resolver, an error is thrown during applypublishRecordEvents/publishExecutionEventsto unifiedpublishEventspublishRecordEventsfor types,publishExecutionEventsfor resolvers)Test plan
🤖 Generated with Claude Code