FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: added `@tsmetadata/json-api` to implementations by ryanhaticus · Pull Request #1774 · json-api/json-api · GitHub

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

Open
ryanhaticus wants to merge 2 commits into
json-api:gh-pagesfrom
ryanhaticus:gh-pages
Open

docs: added @tsmetadata/json-api to implementations#1774
ryanhaticus wants to merge 2 commits into
json-api:gh-pagesfrom
ryanhaticus:gh-pages

Conversation

ryanhaticus commented Nov 9, 2024
edited
Loading

Copy link
Copy Markdown

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.

Copy link
Copy Markdown
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. :)

Copy link
Copy Markdown
Author

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

Copy link
Copy Markdown
Author

👀

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL