Skip to content

Commit

Permalink
Fixed a backward compatibility with the older schema executors.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Apr 15, 2023
1 parent bd324ba commit f9c5f2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion builders.js
Original file line number Diff line number Diff line change
Expand Up @@ -2616,7 +2616,7 @@ SchemaBuilderEntityProto.exec = function(type, name, model, options, controller,
var self = this;

var additional = caller ? caller.options : null;
var symbol = caller ? caller.meta.symbol : null;
var symbol = caller && caller.meta ? caller.meta.symbol : null;

self.resourceName && error.setResource(self.resourceName);
self.resourcePrefix && error.setPrefix(self.resourcePrefix);
Expand Down
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
0.0.83
========================

- fixed a backward compatibility with the older schema executors

========================
0.0.82
========================
Expand Down

0 comments on commit f9c5f2a

Please sign in to comment.