@apptreesoftware/connector-nestjs
v0.6.0
Published
NestJS integration for AppTree connectors
Readme
@apptreesoftware/connector-nestjs
NestJS integration for AppTree connectors.
Changelog
0.5.0
- Breaking (behavioral):
submission()no longer patches the record's collection row oncomplete. It previously wrote the client'ssubmissionData— a pending-edit payload carrying_status/_updatesmarkers, write-only fields and pre-submit values — intocollection_updatesafter the callback returned, which reverted the connector's own post-submit re-sync and left the form showing data the user had already submitted (apptree_7#557). Post-submit record state is now entirely the connector's: end everyupdate()pipeline with a closing op that re-fetches the record (plus the lazy relationships the submission touched) and callsservice.mutate.upsertCollectionRecord, addressed to the collection the form posted. submission()logs a warning when a submission completes without the callback having written the record, so a missing closing op is visible instead of silently stale.
0.4.0
- Added
hydrateRecordoverlay helper for simplified record transformation - Added
resolveTargetCollectionfor determining target collection in connector operations - Fixed top-level relationships reads (with legacy
body.statefallback support) - Deprecated
HookRequest.statein favor of top-level properties (seeapptree-mobilev0.6.2+)
0.3.0
- See git history for changes between 0.2.0 and 0.3.0
0.2.0
- Connector trace spans now correlate to the inbound platform trace
(
X-Trace-Id/X-Parent-Span-Id) and are delivered automatically to/v1/trace/spans. No connector code change required — just upgrade. - Set
APPTREE_HOST(or theapptreeHostmodule option) when posting to a non-production platform (defaults tohttps://api.apptree.io).
0.1.0
- Initial release.
