Mark Scherer
Mark Scherer
We need to first know where this comes from what the query is. Based on the Code I still think wrongly configured domain rules cause this.
Current workaround would be to have $article->get('_joinData')->quantity, but, ideally we can do $article->_joinData->quantity by annotating the possible joinData object on the target relation.
See https://github.com/dereuromark/cakephp-ide-helper/pull/350
ping @ADmad Are those changes good? //EDIT I guess this is for Cake4?
Why is this named Web POS when the repo and content says sth different, I wonder. How are we with copyleft licenses by the way, compared to MIT etc.
I recommend doing those PRs on the maintained package https://github.com/devilbox-community/devilbox
You can also invent a custom type, e.g. YearType or alike: https://github.com/dereuromark/cakephp-shim/blob/04aa7bac781475c94a023ee9f47e4bac3005d56c/src/Database/Type/YearType.php
https://github.com/cakephp/docs/pull/8012
ping @zunnu Anything left to be done? There seems to be a few conflicts.
Should we close this in favor of https://github.com/cakephp/cakephp/pull/18722 ? @zunnu It could make sense to have its own engine for this instead of overloading the existing Redis one.