Skip to content

Conversation

@stotko
Copy link
Member

@stotko stotko commented Nov 13, 2024

The full build and stub generation paths are resolved when initializing a Config object. However, this is too early to draw any associations to the intended module name used for that extension. This restricts picking a build directory name based on only the project name and other auxiliary information. However, the module name would provide a better and more intuitive means in this regard, but could not be used so far. Defer resolving the configuration until it is inserted into the module dictionary. This not only enables leveraging the module name, but would also allow for further sanity checks, e.g. when overriding an existing configuration.

@stotko stotko added the changed label Nov 13, 2024
@stotko stotko merged commit 5c510ab into main Nov 13, 2024
21 checks passed
@stotko stotko deleted the defer_config_resolution branch November 13, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants