Closed lveillard closed 2 months ago
fix: refine SurrealDB mutation handling and schema definition
Refines SurrealDB mutation handling with improved filter parsing, type-specific value handling, schema definition, and updates for version 0.11.2.
Key points:
filters.ts
null
NONE
buildSuqlFilter
helpers.ts
sanitizeNameSurrealDB
value
name
values.ts
parseValueSurrealDB
define.ts
surrealDBtypeMap
bormDefine
compute.ts
computeField
enrichSchema
build.ts
buildSURQLMutation
parse.ts
parseSURQLMutation
enrich.ts
enrichBQLQuery
buildRefs.ts
buildRefs
changelog.md
package.json
parseFlexVal.ts
parsing/parseFlexVal.ts
Generated with :heart: by ellipsis.dev
fix: refine SurrealDB mutation handling and schema definition
Summary:
Refines SurrealDB mutation handling with improved filter parsing, type-specific value handling, schema definition, and updates for version 0.11.2.
Key points:
filters.ts
: Handlenull
values asNONE
inbuildSuqlFilter
.helpers.ts
: RefactorsanitizeNameSurrealDB
to usevalue
instead ofname
.values.ts
: IntroduceparseValueSurrealDB
for type-specific value parsing.define.ts
: UsesurrealDBtypeMap
for type mapping; updatebormDefine
to return objects.compute.ts
: EnhancecomputeField
to handle default values robustly.helpers.ts
: ImproveenrichSchema
to filter link fields correctly.build.ts
: UseparseValueSurrealDB
inbuildSURQLMutation
.parse.ts
: Handle metadata correctly inparseSURQLMutation
.enrich.ts
: Enrich filters recursively inenrichBQLQuery
.buildRefs.ts
: Ensure correct query building inbuildRefs
.changelog.md
andpackage.json
for version 0.11.2.parseFlexVal.ts
toparsing/parseFlexVal.ts
.Generated with :heart: by ellipsis.dev