-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Proposal: Validate config keys #1667
Comments
I like this ... but I don't know if it's possible to do it with the Config component. Basically, the problem to solve is: I want to define a config node ( I remember trying to solve this in the past and I couldn't. Symfony didn't like this idea: "this config allows total freedom ... except when using certain options, which will be strictly validated". |
I would honestly do it in the EasyAdminExtension. Basically, do as much validation as possible on |
I'm closing this issue because we're starting a new phase in the history of this bundle (see #2059). We've moved it into a new GitHub organization and we need to start from scratch: no past issues, no pending pull requests, etc. I understand if you are angry or disappointed by this, but we really need to "reset" everything in order to reignite the development of this bundle. |
Hi there!
Basically, some of the admin config uses the
prototype('variable')
type in theConfiguration
class, so the bundle doesn't catch types. For example, beneath an entity, I typedcontorller
. Instead of an error, it just didn't see my controller :).To keep with the
entities
section, the valid config keys below this are a known list, correct? Could we update theConfiguration
class for these?Thanks!
The text was updated successfully, but these errors were encountered: