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

GH-660: Prevent empty mobile block on client resource #742

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

sergiught
Copy link
Contributor

🔧 Changes

📚 References

Fixes: #660.

🔬 Testing

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@sergiught sergiught requested a review from a team as a code owner July 19, 2023 10:55
Computed: true,
MaxItems: 1,
Description: "Configuration settings for Android native apps.",
AtLeastOneOf: []string{"mobile.0.ios"},
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be "mobile.0.android"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, when using AtLeastOneOf the current resource attribute is already included.

Computed: true,
MaxItems: 1,
Description: "Configuration settings for i0S native apps.",
AtLeastOneOf: []string{"mobile.0.android"},
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be "mobile.0.ios"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, when using AtLeastOneOf the current resource attribute is already included.

@sergiught sergiught merged commit e9412d1 into v1 Jul 19, 2023
4 checks passed
@sergiught sergiught deleted the patch/client-validation branch July 19, 2023 14:27
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.

3 participants