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

fix: 🐛 route payload options missing types #4507

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

damusix
Copy link
Contributor

@damusix damusix commented Jun 9, 2024

🎟️ Fixes #4505 #4501 #4504

Additionally adds missing method cache typings to select cache name and segment name

@@ -1,5 +1,6 @@
import { types as lab } from '@hapi/lab';
import { expect } from '@hapi/code';
import * as CatboxMemory from '@hapi/catbox-memory';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Dependent on hapijs/catbox-memory#90 for tests to pass

Copy link
Member

@Nargonath Nargonath left a comment

Choose a reason for hiding this comment

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

Code LGTM. We'll see how the tests looks once the dependent PR is merged and deployed.

lib/types/route.d.ts Outdated Show resolved Hide resolved
@Marsup Marsup added this to the 21.3.10 milestone Jun 12, 2024
@Marsup Marsup linked an issue Jun 12, 2024 that may be closed by this pull request
@Marsup Marsup merged commit f1c16c6 into hapijs:master Jun 12, 2024
15 checks passed
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.

I cannot get any types Missing maxParts type in route.d.ts
4 participants