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

Independent Config Route Creation for Packages & Modules #266

Merged
merged 7 commits into from
Jul 26, 2022

Conversation

Michael-Vol
Copy link
Contributor

This PR adds support for generating config routes independently for each package and module. It also introduces strict convict configuration validation in order to prevent users from adding irrelevant fields into the config.

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other (please describe)

Does this PR introduce a breaking change?

  • Yes
  • No

The PR fulfills these requirements:

  • It's submitted to the main branch
  • When resolving a specific issue, it's referenced in the PR's description (e.g. fix #xxx, where "xxx" is the issue number)

@Michael-Vol Michael-Vol added the enhancement New feature or request label Jul 25, 2022
@Michael-Vol Michael-Vol marked this pull request as ready for review July 26, 2022 09:47
packages/core/src/routes/index.ts Outdated Show resolved Hide resolved
packages/core/src/routes/index.ts Outdated Show resolved Hide resolved
packages/core/src/config-manager/index.ts Outdated Show resolved Hide resolved
libraries/grpc-sdk/src/classes/ModuleManager.ts Outdated Show resolved Hide resolved
@kon14 kon14 self-requested a review July 26, 2022 09:56
Copy link
Contributor

@kon14 kon14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved this accidentally.

@Michael-Vol Michael-Vol requested a review from kon14 July 26, 2022 10:03
@kkopanidis kkopanidis merged commit e35edbd into main Jul 26, 2022
@kkopanidis kkopanidis deleted the config-validation branch July 26, 2022 10:50
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

Successfully merging this pull request may close these issues.

None yet

3 participants