Skip to content
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

Consider generalizing to all schema libraries #8

Open
sam-goodwin opened this issue Oct 13, 2023 · 0 comments
Open

Consider generalizing to all schema libraries #8

sam-goodwin opened this issue Oct 13, 2023 · 0 comments

Comments

@sam-goodwin
Copy link
Owner

My concerns regarding the library's name are related to the fact that we have three different paths to consider, each with its own benefits:

  1. Option 1: Keep the library name as zod-class, linking it to Zod. As we continue to add support for other validation/schema libraries, we can create new packages (probably inside a monorepo) for each of them with the -class suffix (e.g., yup-class, arktype-class).

    • The main advantage of this approach is that it would likely improve SEO for those searching for class support for each library (that's how I found zod-class, by the way).
  2. Option 2: Create a single package with a user-friendly name that references both classes and schemas, and provide built-in support for as many libraries as possible (similar to typeschema).

    • The library name and description should be easy to find and remember.
  3. Option 3: Create an organization with an appealing name that references classes and schemas, and publish one package for each library we support (e.g., @classy/zod, @classy/valibot).

    • This approach is a compromise between Options 1 and 2.

Let me know what do you think

Originally posted by @thawankeane in #5 (comment)

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

No branches or pull requests

1 participant