Skip to content

Commit

Permalink
Only overwrite all if it's the default DataClass All
Browse files Browse the repository at this point in the history
  • Loading branch information
valkjsaaa committed May 14, 2024
1 parent d56791d commit 00bb0f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/decorators/decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ export function GenieClass(comment: string = "") {
return allObjects;
}

if (!target.All) {
if (target.All == DataClass.All) {
target.All = All;
// append additional function descriptor to class descriptor
target.ClassDescriptor.functions.add(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactgenie-dsl",
"version": "0.0.56",
"version": "0.0.57",
"description": "A natural language parser based on a large language model",
"scripts": {
"prepare": "peggy lib/dsl/parser.pegjs -o lib/dsl/parser.gen.js && tsc",
Expand Down

0 comments on commit 00bb0f0

Please sign in to comment.