rads-db 3.2.25 → 3.2.26

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.
@@ -196,7 +196,8 @@ function buildIncludeSchema(typeDef, schema) {
196
196
  const canSubInclude = field.isRelation || entry?.fields && !entry.enumValues;
197
197
  if (canSubInclude) {
198
198
  includeProps[field.name] = {
199
- $ref: `#/components/schemas/${field.type}Include`
199
+ type: "object",
200
+ additionalProperties: true
200
201
  };
201
202
  } else {
202
203
  primitiveFields.push(field.name);
@@ -113,7 +113,7 @@ function buildIncludeSchema(typeDef, schema) {
113
113
  const entry = schema[field.type];
114
114
  const canSubInclude = field.isRelation || entry?.fields && !entry.enumValues;
115
115
  if (canSubInclude) {
116
- includeProps[field.name] = { $ref: `#/components/schemas/${field.type}Include` };
116
+ includeProps[field.name] = { type: "object", additionalProperties: true };
117
117
  } else {
118
118
  primitiveFields.push(field.name);
119
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rads-db",
3
- "version": "3.2.25",
3
+ "version": "3.2.26",
4
4
  "description": "Say goodbye to boilerplate code and hello to efficient and elegant syntax.",
5
5
  "author": "",
6
6
  "license": "ISC",