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

Mapping parameter should be mixed #213

Closed
sitole opened this issue Mar 27, 2019 · 0 comments
Closed

Mapping parameter should be mixed #213

sitole opened this issue Mar 27, 2019 · 0 comments

Comments

@sitole
Copy link

sitole commented Mar 27, 2019

Version: 3.0.0-RC3

I upgraded my app to Nette 3.0, but the latest update broke router mapping.

application:
	mapping:
		*: [App, Modules\*, Presenters\*\*Presenter]

For example i want map Frontend:Homepage:Default to App\Modules\Frontend\Presenter\Homepage\HomepagePresenter.php

But new extension schema validator expected only string array (not array of arrays).

'mapping' => Expect::arrayOf('string')->dynamic(),

It should be something like Expect::arrayOf('mixed')->dynamic() or Expect::array()->dynamic().

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

No branches or pull requests

1 participant