Add a way to deactivate type bindings for a specific canister in dfx.json #3173
rvanasa
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This feature request is motivated by dfinity/motoko-dev-server#43 along with frequently running into this myself. While it's possible to run
dfx generate foo
, projects with a large number of canisters would benefit from a way to exclude specific canisters in the dfx.json configuration.One approach could be to skip binding generation when
declarations.output
isnull
(which currently uses the defaultdeclarations/*
path) in the dfx.json configuration. Another option would be to add a new optional field (maybedeclarations.skip
or similar) for complete backwards compatibility.Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions