# |
Nov 27th 2017, 21:49 |
inoas |
I really like json schema because it is simple and understandable https://gist.github.com/inoas/58ef2ec9c81e0436332d5ea26a6124c0 |
# |
Nov 27th 2017, 21:49 |
inoas |
I don't know jsontype just dug it up on npmjs.com |
# |
Nov 27th 2017, 21:49 |
saeideng |
but i have a bit problem with jsontype |
# |
Nov 27th 2017, 21:49 |
inoas |
I mean we could convert $options to json just to validate them |
# |
Nov 27th 2017, 21:48 |
inoas |
huh :)? |
# |
Nov 27th 2017, 21:48 |
saeideng |
I say about cake jaon type :slightly_smiling_face: |
# |
Nov 27th 2017, 21:48 |
inoas |
http://json-schema.org/ |
# |
Nov 27th 2017, 21:48 |
saeideng |
JsonSchema or jsontype |
# |
Nov 27th 2017, 21:47 |
inoas |
thats the way we should do complex data validation (such as $options) |
# |
Nov 27th 2017, 21:47 |
inoas |
jep I really like JsonSchema |
# |
Nov 27th 2017, 21:41 |
inoas |
I am really on a tight deadline but I will see - this need to get better in cakephp4 |
# |
Nov 27th 2017, 21:40 |
inoas |
improve it ;-)? hehe |
# |
Nov 27th 2017, 21:40 |
saeideng |
if you have time |
# |
Nov 27th 2017, 21:40 |
inoas |
no need to repeat that in every plugin |
# |
Nov 27th 2017, 21:40 |
inoas |
say __d('ui', 'Yes'); |
# |
Nov 27th 2017, 21:40 |
inoas |
and it doesnt pick them up from the plugin folder |
# |
Nov 27th 2017, 21:40 |
inoas |
I am using different domains than the default plugin once |
# |
Nov 27th 2017, 21:39 |
inoas |
also __d() is a bit weirdo to use |
# |
Nov 27th 2017, 21:39 |
eBug69 |
hi I have a doubt with Crud. Can I use $event->getSubject()->query->where for the beforePaginate event in a View action ? |
# |
Nov 27th 2017, 21:39 |
inoas |
;-( it works now but it is no fun to "hunt the error" ;-) |
# |
Nov 27th 2017, 21:39 |
saeideng |
you no way to see loaded locales :slightly_smiling_face: |
# |
Nov 27th 2017, 21:37 |
saeideng |
inoas |
# |
Nov 27th 2017, 21:24 |
raul338 |
via through option |
# |
Nov 27th 2017, 21:24 |
raul338 |
the associated records are in a belongsToMany |
# |
Nov 27th 2017, 21:24 |
raul338 |
every field is accesible |
# |
Nov 27th 2017, 21:23 |
raul338 |
Help, what could be the problem when a table don't want to save an entity with associated records (return false) but the entity and its associated records have empty errors() ? |
# |
Nov 27th 2017, 21:21 |
inoas |
this is... arg |
# |
Nov 27th 2017, 21:20 |
inoas |
the directory is nl-NL must be nl_NL |
# |
Nov 27th 2017, 21:20 |
inoas |
arg |
# |
Nov 27th 2017, 21:18 |
inoas |
:( |
# |
Nov 27th 2017, 21:18 |
inoas |
it is very error prone and no feedback anywhere |
# |
Nov 27th 2017, 21:18 |
inoas |
how would you debug on why plugin locales are not being loaded |
# |
Nov 27th 2017, 21:03 |
ravage84 |
I don't like to misuse __debugInfo() for that, but thanks. |
# |
Nov 27th 2017, 21:00 |
saeideng |
__debugInfo()['columns'] |
# |
Nov 27th 2017, 21:00 |
saeideng |
@ravage84 |
# |
Nov 27th 2017, 20:40 |
burzum |
I think so. havent checked it for some time because it didn't generate any revenue |
# |
Nov 27th 2017, 20:34 |
inoas |
burzum is it still online? |
# |
Nov 27th 2017, 20:34 |
inoas |
erikj I think there is that cakephp jobs page |
# |
Nov 27th 2017, 20:34 |
inoas |
booked to the tips of my ears :E |
# |
Nov 27th 2017, 20:16 |
erikj |
Any Cake Developers out there interested in some side work? |
# |
Nov 27th 2017, 20:14 |
inoas |
seems more often than not we want toList not toArray |