Skip to content

Conversation

@Laren-AWS
Copy link
Contributor

Per-category field validation:

  • Can specify a set of additional metadata fields that are required for an example category. This is useful for tributaries that specify additional fields for specific example types.
  • It's not clear how much this will be used beyond IAMPolicy, so I used a simple hardcoded dict, but this lays some groundwork for expanding this to a configurable file specified in the tributary.

Improved some error messages to help metadata authors:

  • Caught YAML parse error so we write a helpful message instead of the stack trace.
  • Added tips for fixing some other common errors where the fix might not be obvious.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Laren-AWS Laren-AWS requested a review from cpyle0819 June 16, 2025 22:44
@Laren-AWS Laren-AWS self-assigned this Jun 16, 2025
@Laren-AWS Laren-AWS added the Enhancement A general update to the code base. label Jun 16, 2025
@Laren-AWS Laren-AWS merged commit 2477c96 into main Jun 18, 2025
2 checks passed
@Laren-AWS Laren-AWS deleted the improved-some-validation-messages branch June 18, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement A general update to the code base.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants