Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add strict Durable Object jurisdiction/locationHint types #471

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

mrbbot
Copy link
Contributor

@mrbbot mrbbot commented Mar 23, 2023

These properties/parameters can only take certain values. Rather than using a string type, this change defines literal union types for the possible values.

Closes #316

These properties/parameters can only take certain values. Rather than
using a `string` type, this change defines literal union types for
the possible values.

Closes #316
@mrbbot mrbbot added the types Related to @cloudflare/workers-types label Mar 23, 2023
@mrbbot mrbbot requested a review from penalosa March 23, 2023 17:03
src/workerd/api/actor.h Show resolved Hide resolved
src/workerd/api/actor.h Show resolved Hide resolved
@mrbbot mrbbot merged commit aba96e3 into main Mar 28, 2023
@mrbbot mrbbot deleted the bcoll/durable-object-jurisdiction-location-hint-types branch March 28, 2023 21:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
types Related to @cloudflare/workers-types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Types] DO jurisdiction and locationHint types
2 participants