Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make helper to validate basic configuration variables #576

Open
solarw opened this issue Feb 15, 2023 · 0 comments
Open

Make helper to validate basic configuration variables #576

solarw opened this issue Feb 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@solarw
Copy link
Collaborator

solarw commented Feb 15, 2023

public_id = PublicId.from_json(item_config)

in this line, PublicID constructed from json data, that was not validated

propose:

  • create utility function to load package config and calidate author, name, version, aea version and other mandatory fields for package configuration.
  • do not load configuration manualy, use utility function proposed above.
@DavidMinarsch DavidMinarsch added the enhancement New feature or request label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants