Skip to content

fix: support async resource data serialization - #1

Merged
3m1n3nc3 merged 1 commit into
mainfrom
fix/async-resource-data
Jul 15, 2026
Merged

fix: support async resource data serialization#1
3m1n3nc3 merged 1 commit into
mainfrom
fix/async-resource-data

Conversation

@3m1n3nc3

Copy link
Copy Markdown
Member
  • Added tests/express.spec.ts coverage proving async data() works in an Express response.
  • Added support for nested Resource directly, without .toObject().
  • Added async normalisation for nested resources/collections.
  • Updated Resource, GenericResource, and ResourceCollection thenable paths to await async data() safely.

@3m1n3nc3
3m1n3nc3 merged commit 9d51172 into main Jul 15, 2026
4 checks passed
@3m1n3nc3
3m1n3nc3 deleted the fix/async-resource-data branch July 15, 2026 05:34
@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

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