Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: added @tsmetadata/json-api to implementations #1774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

ryanhaticus
Copy link

@ryanhaticus ryanhaticus commented Nov 9, 2024

I've been working hard on implementing a standard set of metadata decorators for JSON:API in TypeScript.

Why?

  • These decorators are pure and add field/class metadata to the class prototype.
  • Stage 3 decorators were finalized in TypeScript 5.2+ and adoption at this very moment is poor, despite immense technical possibility.
  • Metadata can be accessed by other libraries, meaning @tsmetadata/json-api is one of few libraries built purely to allow for third party extension.
  • This is a work in progress, but the metadata can be used to power serializers and deserializers.
  • I'm currently working on a NoSQL ORM utilizing the library where data is stored in a JSON:API-like fashion.

I have plans to support many specifications, but JSON:API is the first. You can learn more here.

@ryanhaticus
Copy link
Author

Hi @jelhan - I released a huge update today (complete types and serializers) and I think this package would be an awesome addition to the implementations page. Due to the nature of the implementation (stage 3 TypeScript decorators), no other library in the ecosystem does what @tsmetadata/json-api does. :)

@ryanhaticus
Copy link
Author

The @tsmetadata/json-api-orm library is also production ready now. I've added it to this PR.

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