Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

add init for config context, support legacy usage #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Zetazzz
Copy link

@Zetazzz Zetazzz commented Jun 4, 2024

add init for config context, support legacy usage
test and fixed docs

Posting this PR is for more clear error message when config is not properly initialized.
(There's not error message if config and registry're not set.)

And backward compitablity is supported, meaning the old way of setting config is still available but not recommended.

@pyramation
Copy link
Contributor

I reviewed this, looks good! Let's just clean up the readme portion to have two codeblocks with text above the codeblock for cleaner readme

@Zetazzz
Copy link
Author

Zetazzz commented Jun 12, 2024

corrected, hope that makes sense

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants