Skip to content

Conversation

@DadiBit
Copy link

@DadiBit DadiBit commented Aug 10, 2025

What's Changed

No breaking changes. Just a dead-simple helper to improve type safety a bit.

"Full" type-safety like zod or drizzle (maybe, I have never used the latter) could happen, but some major refactoring would be required to work with objects:

  • drop name from field class at lower level
  • underlying data would be stored as an object of (Anonymous)Fields
  • access fields by key name, rather then index

@kou
Copy link
Member

kou commented Aug 10, 2025

Could you remove pnpm related changes from this PR?
It's not required for this proposal, right?

If you're interested in our package manager, let's work on it as a separated PR. See also: #189

Could you open an issue for this proposal? This is a sub task of #232 , right?

@DadiBit
Copy link
Author

DadiBit commented Aug 10, 2025

Could you remove pnpm related changes from this PR? It's not required for this proposal, right?

Done.

If you're interested in our package manager, let's work on it as a separated PR. See also: #189

Cool, thanks! I'll be joining to convince everyone that pnpm is the best package manager 😄

Could you open an issue for this proposal? This is a sub task of #232 , right?

It is a PR "subtask" for #232, correct, I will open an issue with proper context and examples as soon as I can.

This is not the final solution, but it should allow for a smoother transition.

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