Skip to content

Conversation

rvanasa
Copy link
Contributor

@rvanasa rvanasa commented Jul 9, 2025

This PR improves dfx.json schema validation by restricting unknown properties on canister objects. The motivation is to provide a warning/error when, for instance, specifying a build property for a non-custom canister.

It could make sense to make a wider change (more restrictions for additional objects in the schema) or a narrower change (only fixing the specific build case). For now, this seems like a reasonable middle ground.

@rvanasa rvanasa requested a review from a team as a code owner July 9, 2025 17:23
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