Log message #4054171

# At Username Text
# Jul 19th 2017, 15:33 jeremyharris Inoas not ignoring you, I had some morning chores to do. I'll get back to you in a bit when I'm done with them :)
# Jul 19th 2017, 15:33 inoas also did you try to switch debug on and off like https://github.com/cakephp/cakephp/issues/6072#issuecomment-80942582 suggested
# Jul 19th 2017, 15:33 neon1024 @domgeek I would recommend rephrasing your question, or providing more information.
# Jul 19th 2017, 15:33 inoas then ./Console/cakeshell
# Jul 19th 2017, 15:32 inoas domgeek tbh, I can't help you either but I would first do cd /var/www/tender.ng/public_html/app/
# Jul 19th 2017, 15:31 inoas maybe a warning in the console could help
# Jul 19th 2017, 15:31 domgeek @all
# Jul 19th 2017, 15:30 inoas @dereuromark I don't think adding more magic to a "broken" behavior that mysql <5.7 suggested to use is a good thing in the core ;) @ https://github.com/cakephp/cakephp/issues/10723#issuecomment-316423873
# Jul 19th 2017, 15:30 domgeek please is there any other group where i can ask my question ?
# Jul 19th 2017, 15:30 neon1024 My value objects only usually have a few things, so I guess it’s easier for me to say new OptionsThingy($foo, $bar, $baz);
# Jul 19th 2017, 15:30 neon1024 I see what you mean now
# Jul 19th 2017, 15:29 inoas options can be build up gradually so personally I'd rather check them on consumption, but that has flaws took, so yeah some checks could be done on __construct of a value object - good idea
# Jul 19th 2017, 15:29 inoas like this? https://github.com/cakephp/cakephp/issues/10866#issuecomment-313391901 :p
# Jul 19th 2017, 15:29 neon1024 Well if it’s a value object surely the constructor just checks the params?
# Jul 19th 2017, 15:28 neon1024 The only down side I have with value objects is they make the api look really complex when calling methods
# Jul 19th 2017, 15:28 inoas I can understand the desire of the IDE folks but the problem is that burzums config object to me doesn't do a good job on making sure the options "object" is in a well formed state that can be consumed
# Jul 19th 2017, 15:28 neon1024 Perhaps I’ll spend some time properly reading the stuff :slightly_smiling_face:
# Jul 19th 2017, 15:27 inoas well that's not where I would go... sadly
# Jul 19th 2017, 15:27 neon1024 I like being able to type hint against them :slightly_smiling_face:
# Jul 19th 2017, 15:27 neon1024 I’m all in favour of value objects
# Jul 19th 2017, 15:27 inoas or forgetting one, or having some that used to do things but now do not do them anymore
# Jul 19th 2017, 15:27 inoas you never have the problem of miss-typing a hashkey and not realizing again
# Jul 19th 2017, 15:27 inoas After that it is easy to use $options as you can rely on them
# Jul 19th 2017, 15:26 inoas neon1024 all I am saying is you push $options into a function that takes an option object (basically an array) and the method/function then runs it through a small schema validator.
# Jul 19th 2017, 15:26 domgeek https://github.com/cakephp/cakephp/issues/6072 please check this out
# Jul 19th 2017, 15:24 neon1024 Go well my brainy friend! ;)
# Jul 19th 2017, 15:24 neon1024 Geez Ionas, you’re so far ahead of me on these things. I don’t even understand half of it!
# Jul 19th 2017, 15:19 inoas domgeek I am not sure I can help you (or we can) but can you repost the gist with issue
# Jul 19th 2017, 15:19 inoas and this is what I fear... and there hasn't been really a clear statement where this will go https://github.com/cakephp/cakephp/issues/10866#issuecomment-313391901
# Jul 19th 2017, 15:19 domgeek sorry to have tagged them but i posted this same post earlier on.. nobody replied me :sad:
# Jul 19th 2017, 15:18 inoas jeremyharris about feedback, maybe this is not the best solution, but what's your take on validation $options before consumption against a pattern/schema like so https://gist.github.com/ionas/94e961bf414c78362442041081dad3ca
# Jul 19th 2017, 15:18 inoas what issue anyway I didnt see it but "having problem with script"
# Jul 19th 2017, 15:17 jarard app works fine otherwise, but when my console tries to query a model I get the error
# Jul 19th 2017, 15:17 neon1024 Sorry @domgeek I don’t know a solution to your issue
# Jul 19th 2017, 15:17 inoas domgeek try to work with the community not single peeps ;)
# Jul 19th 2017, 15:17 jeremyharris I'm not at a computer at the moment sorry
# Jul 19th 2017, 15:17 jarard guys anyone familiar with missing mysql connection when running Console?
# Jul 19th 2017, 15:16 domgeek @neon1024 @jeremyharris plz i need help here
# Jul 19th 2017, 15:16 jeremyharris Input is always welcome :slightly_smiling_face: the framework has always been a team effort
# Jul 19th 2017, 15:16 neon1024 @jeremyharris Oh in Stream!? Right, thanks :slightly_smiling_face:
# Jul 19th 2017, 15:16 inoas not necessarily but in 95% of the cases and that's enough for me to be happy and productive with cakephp ;)