-
-
Notifications
You must be signed in to change notification settings - Fork 0
Rename ClassSchema to ConstructibleSchema #47
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
Conversation
✅ Deploy Preview for bupkis ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@copilot be sure to update the documentation. any assertion ID referencing |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
@copilot Do not concern yourself with backwards compatibility; this is a pre-1.0 library. |
Co-authored-by: boneskull <924465+boneskull@users.noreply.github.com>
|
@copilot The commit message is failing the pre-commit check. Execute |
Removed all backward compatibility. The deprecated ClassSchema export has been completely removed from src/schema.ts and its documentation section deleted. Users must now use ConstructibleSchema directly. |
Updated documentation by removing the deprecated ClassSchema section from site/reference/schemas.md. The assertion IDs in tests were already correctly using 'constructibleschema' (lowercase) which matches the new schema name. |
Co-authored-by: boneskull <924465+boneskull@users.noreply.github.com>
Executed |
|
@copilot Please implement |
The ClassSchema to ConstructibleSchema rename has been fully implemented and verified: ✅ Core Implementation:
✅ Backward Compatibility Removed (as requested):
✅ Tests & Documentation:
✅ Verification:
The implementation is complete and ready for use. Users must now import |
Renames
ClassSchematoConstructibleSchemasince it validates any constructable function, not just classes.Changes Made
ClassSchemaexport toConstructibleSchemainsrc/schema.tsTesting
The rename is complete with no backward compatibility. Users must now import
ConstructibleSchemainstead ofClassSchema.Fixes #39.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.