Re: [PROPOSAL] Return json from database directly

2020-06-30 Thread Girish Vasmatkar
Hi Shi I am sorry but I am not following it. By results, did you mean the result of operations done on the View Entity or the definition of the View Entities in JSON format? Also, since you mentioned PostgreSQL, would it be database-agnostic and not limited to PostgreSQL? An example JSON

Re: [PROPOSAL] Change implementation/runtimeOnly in build.gradle to comma separated style?

2020-06-30 Thread Shi Jinghai
Hi Jacques, OK, agree. 发件人: Jacques Le Roux 发送时间: 2020年6月30日 21:23 收件人: dev@ofbiz.apache.org 主题: Re: [PROPOSAL] Change implementation/runtimeOnly in build.gradle to comma separated style? Hi Jinghai, Actually I prefer the

Re: [PROPOSAL] Change implementation/runtimeOnly in build.gradle to comma separated style?

2020-06-30 Thread Jacques Le Roux
Hi Jinghai, Actually I prefer the current version. I find it easier to maintain: eg when you add a line you simply copy the line above and don't need to worry about the comma. I can't remember the number of cases I forgot a comma in the Buildbot config file :) Jacques Le 30/06/2020 à

[PROPOSAL] Return json from database directly

2020-06-30 Thread Shi Jinghai
Hi there, While playing openapi with ofbiz, I found it would more convenient to get some view entity results in json format. I tried array-to-json of PostgreSQL, it worked. A sample use case: And then the result could be sent to

Re: [PROPOSAL] Change implementation/runtimeOnly in build.gradle to comma separated style?

2020-06-30 Thread Shi Jinghai
Hi Eugen, I agree this proposal is mild cosmetic :) 发件人: Eugen Stan 发送时间: 2020年6月30日 17:07 收件人: dev@ofbiz.apache.org; Shi Jinghai 主题: Re: [PROPOSAL] Change implementation/runtimeOnly in build.gradle to

Re: [PROPOSAL] Change implementation/runtimeOnly in build.gradle to comma separated style?

2020-06-30 Thread Eugen Stan
Hi Shi Jinghai, What are the benefits? Why do all this work? It seems to me they are only mild cosmetic improvements (arguably an improvement). In my apps I usually copy dependencies from maven (the copy button) and they include the 'implementation' word, as most similar sites do. Example: