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

Define CustomField #177

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Define CustomField #177

wants to merge 1 commit into from

Conversation

Fweddi
Copy link
Contributor

@Fweddi Fweddi commented Dec 16, 2024

No description provided.

@Fweddi Fweddi force-pushed the fp/define-custom-fields branch 2 times, most recently from 3f22665 to aee622d Compare December 16, 2024 14:38
@Fweddi Fweddi force-pushed the fp/define-custom-fields branch from aee622d to 9082e3a Compare December 16, 2024 15:26
@guardian guardian deleted a comment from gu-scala-library-release bot Dec 16, 2024
@guardian guardian deleted a comment from gu-scala-library-release bot Dec 16, 2024
struct CustomField {
1: required string fieldName
2: required string fieldType
3: required string defaultValue
Copy link
Contributor Author

@Fweddi Fweddi Dec 16, 2024

Choose a reason for hiding this comment

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

string is the best we can do for defaultValue as Thrift doesn't support polymorphism.

I assume we will fill defaultValue with stringified JSON.

@gu-scala-library-release
Copy link
Contributor

@Fweddi has published a preview version of this PR with release workflow run #23, based on commit 9082e3a:

7.0.0-PREVIEW.fpdefine-custom-fields.2024-12-16T1530.9082e3ad

Want to make another preview release?

Click 'Run workflow' in the GitHub UI, specifying the fp/define-custom-fields branch, or use the GitHub CLI command:

gh workflow run release.yml --ref fp/define-custom-fields

Want to make a full release after this PR is merged?

Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command:

gh workflow run release.yml

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.

1 participant