Skip to content

Conversation

@gustavoguichard
Copy link
Collaborator

I'm gonna leave this PR here so we don't forget to remove deprecations on the next major release.

@gustavoguichard gustavoguichard changed the title Remove deprecations [Only merge on next major]: Remove deprecations Apr 5, 2025
Comment on lines -232 to -241
it('defaults non-declared input to unknown', async () => {
const handler = withSchema()((args) => args)
type _R = Expect<Equal<typeof handler, ComposableWithSchema<unknown>>>

assertEquals(await handler('some input'), {
success: true,
data: 'some input',
errors: [],
})
})
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed only the tests that have a matching one under applySchema tests

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