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

Configuration schema validation moved after $extend import #21

Merged

Conversation

niels-nijens
Copy link
Member

Moved Configuration schema validation to after $extend import to facilitate importing of required JSON elements.

Also improved the following:

  • Exception messages
  • Refactored Configuration::load
  • Removed error control operator

…ation extend before validating with JSON schema
* Changed RuntimeException to more specific InvalidArgumentException
* Improved exception messages
* Extracted Configuration::load into
Configuration::importExtendedConfiguration and
Configuration::processEventSubscribers
* Moved Configuration::importExtendedConfiguration call before
Configuration::validateSchema
niels-nijens added a commit that referenced this pull request Oct 31, 2015
Configuration schema validation moved after $extend import
@niels-nijens niels-nijens merged commit af7765e into accompli:master Oct 31, 2015
@niels-nijens niels-nijens added this to the 0.1.0 milestone Oct 31, 2015
@niels-nijens niels-nijens deleted the configuration-schema-validation branch October 31, 2015 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant