Skip to content

"Prevent merging" conflicts with Schema validation #229

@dakujem

Description

@dakujem

Version:

  • nette/di: master|3.0.2
  • nette/schema: 1.0.2
  • nette/application: 3.0.3

The exception

Nette\DI\InvalidConfigurationException
The option 'application › mapping › _prevent_merging' expects to be string or array, bool given.

image

I believe the Schema is trying to validate _prevent_merging => true as one of the mapping options, which should not be the case.

The configuration

application:
    errorPresenter: Error
    mapping!:
        *: App\*Module\Presenters\*Presenter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions