remult 0.25.5-exp.0 → 0.25.5-exp.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/graphql.js CHANGED
@@ -206,7 +206,9 @@ export function remultGraphql(options) {
206
206
  });
207
207
  };
208
208
  const queryArgsConnection = getQueryArgsConnection(key);
209
- const getSingleEntityKey = toCamelCase(getMetaType(meta));
209
+ let getSingleEntityKey = toCamelCase(getMetaType(meta));
210
+ if (getSingleEntityKey === toCamelCase(key))
211
+ getSingleEntityKey = 'single' + key;
210
212
  root_query.fields.push({
211
213
  key: getSingleEntityKey,
212
214
  args: [argId],
@@ -44,15 +44,12 @@ remult.apiClient.url='localhost:3007/api
44
44
 
45
45
 
46
46
  */
47
- //p1 - investigate angular starter kit init request error
48
- //p1 - fix angular starter kit await set password
49
- //p1- fix angular starter kit with value list in uitoolsservice
50
- //p1 - fix angular starter kit to latest version as well
51
- //p1 -check if checouknt doesn't respect allow read (I think)
52
- //p1 - fix multiple instances of remult: the defaultRemult and async local hook - and columnsOfType - all can be tests with a vite project loading `remult-admin`
53
47
  //p1 - crm demo graphql error
48
+ //p1 - fix multiple instances of remult: the defaultRemult and async local hook - and columnsOfType - all can be tests with a vite project loading `remult-admin`
49
+ //p1 -check if checouknt doesn't respect allow read (I think)
54
50
  //p1 - allow api update only for new rows
55
51
  //p1 - getFields didn't work for kobi in the home component
52
+ //p1 - https://codesandbox.io/p/devbox/demo-sql-expression-wqvj4g
56
53
  //p2 - document validators
57
54
  //p2 - and validators to reference
58
55
  //y2 - discuss a default date formatter
package/graphql.js CHANGED
@@ -264,6 +264,8 @@ function remultGraphql(options) {
264
264
  };
265
265
  var queryArgsConnection = getQueryArgsConnection(key);
266
266
  var getSingleEntityKey_1 = toCamelCase(getMetaType(meta));
267
+ if (getSingleEntityKey_1 === toCamelCase(key))
268
+ getSingleEntityKey_1 = 'single' + key;
267
269
  root_query.fields.push({
268
270
  key: getSingleEntityKey_1,
269
271
  args: [argId],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "0.25.5-exp.0",
3
+ "version": "0.25.5-exp.1",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "homepage": "https://remult.dev",
6
6
  "repository": {
@@ -45,15 +45,12 @@ remult.apiClient.url='localhost:3007/api
45
45
 
46
46
 
47
47
  */
48
- //p1 - investigate angular starter kit init request error
49
- //p1 - fix angular starter kit await set password
50
- //p1- fix angular starter kit with value list in uitoolsservice
51
- //p1 - fix angular starter kit to latest version as well
52
- //p1 -check if checouknt doesn't respect allow read (I think)
53
- //p1 - fix multiple instances of remult: the defaultRemult and async local hook - and columnsOfType - all can be tests with a vite project loading `remult-admin`
54
48
  //p1 - crm demo graphql error
49
+ //p1 - fix multiple instances of remult: the defaultRemult and async local hook - and columnsOfType - all can be tests with a vite project loading `remult-admin`
50
+ //p1 -check if checouknt doesn't respect allow read (I think)
55
51
  //p1 - allow api update only for new rows
56
52
  //p1 - getFields didn't work for kobi in the home component
53
+ //p1 - https://codesandbox.io/p/devbox/demo-sql-expression-wqvj4g
57
54
  //p2 - document validators
58
55
  //p2 - and validators to reference
59
56
  //y2 - discuss a default date formatter