Skip to content

Commit

Permalink
Neo.isRecord() does not work in dist/production #5396
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiu committed Apr 16, 2024
1 parent bdfa0f0 commit 42592c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/data/RecordFactory.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ class RecordFactory extends Base {
key = nsArray.pop();
ns = Neo.ns(nsArray, true);
cls = ns[key] = class Record {
// We do not want to minify the ctor class name in dist/production
static name = 'Record'

constructor(config) {
let me = this,
properties;
Expand Down

0 comments on commit 42592c6

Please sign in to comment.