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

Configuring Typed Search Attributes when starting the DEV server. #560

Merged
merged 5 commits into from
Feb 5, 2025

Conversation

roxblnfk
Copy link
Collaborator

@roxblnfk roxblnfk commented Feb 4, 2025

What was changed

The user can now pass Typed Search Attributes when starting the Temporal CLI in a test environment.

Example:

$testEnv->startTemporalServer(searchAttributes: [
    'testBool' => ValueType::Bool,
    'testInt' => ValueType::Int,
    'testFloat' => ValueType::Float,
    'testString' => ValueType::String,
    'testKeyword' => ValueType::Keyword,
    'testKeywordList' => ValueType::KeywordList,
    'testDatetime' => ValueType::Datetime,
]);

Checklist

  1. Closes [Feature Request] Accept search attributes in dev server startup #465

  2. How was this tested: covered by acceptance tests

  3. Any docs updates needed?

Copy link

vercel bot commented Feb 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
php ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2025 7:00am

@roxblnfk roxblnfk merged commit 616d1d1 into master Feb 5, 2025
110 of 114 checks passed
@roxblnfk roxblnfk deleted the typed-search-attributes-dev-server branch February 5, 2025 07:30
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.

[Feature Request] Accept search attributes in dev server startup
2 participants