Michael Härtl

Results 189 comments of Michael Härtl

@claytonrcarter Thanks for your work so far. Could you comment on your plans with your repository? I'd like to add it as experimental parser source to https://github.com/nvim-treesitter/nvim-treesitter. But for full...

I was having a quick look, on how to best implement this. It seems like the conversion DB -> PHP could be done in `yii\db\ColumnSchema::typecast()`, but this class is not...

@klevron I'd prefer to have this done automatically in the core, without having to attach a behavior.

Why not? Can you show me a case where you would _not_ want to have a SET being converted to an array? It's the natural representation of a SET in...

> MySQL SET data type is non-standard SQL feature. Its usage is actually against the Relational Therory and relational approach. Still it's a valid data type in MySQL. I can...

> Converting a string obtained in the db driver to a PHP array is risky, the implementation is error-prone. I can not agree to that. The string from a SET...

> The problem is can you implement a deserializer correctly, I mean escaping separators etc, so all edge-cases are handled. If you couldn't then the SET datatype would be broken...

From [here](http://dev.mysql.com/doc/refman/5.1/en/set.html): > A SET is a string object that can have zero or more values, each of which must be chosen from a list of permitted values specified when...

> Ah, should not or cannot contain comma?. So the usage is quite limited? Yeah, but this is is a general limitation of this datatype. Unrelated to the question, whether...

Cool. Maybe you even want to consider converting some of them to inline examples as well? Like the first example on this page: https://vee-validate.logaretm.com/v4/guide/components/validation/ It's so simple but the embedded...