Alexander Makarov

Results 1732 comments of Alexander Makarov

How to deal with the fact that in basic and advanced models are stored at completely different locations?

Hmm... instead of autocompleting by model name we can autocomplete namespaces i.e. we know root dir for namespace and deeper levels and class name could be obtainer by reading that...

Gii generates relations as methods. There are limitations on characters we can use within PHP so it's a good idea to apply such limitations right away. These validators are here:...

Just use `.*` for tests which would allow anything. I'm more concerned about PHP code generated than about how it's validated.

It's not the regex that causes timeout.

It's Gii which times out, not the AR itself. Based on your stack trace I guess it happens while querying schema.

Yes, but it's low priority since there aren't many developers using such names for schema. If you need it I'd recommend to look into it yourself and then pull request...

I think Gii extension in the first place which doesn't work with these.

Related to https://github.com/yiisoft/yii2-mongodb/issues/290