Fix a bug accessing null

This commit is contained in:
barsdeveloper
2022-04-30 18:33:27 +02:00
parent 0ef023edf2
commit fcf1bbf32c
11 changed files with 36 additions and 50 deletions

View File

@@ -86,7 +86,7 @@ export default class Grammar {
/**
* @template T
* @param {new (values: Object) => T} entityType
* @param {new (values: Object) => T} entityType
* @returns {Parsimmon.Parser<T>}
*/
static createMultiAttributeGrammar = (r, entityType) =>

View File

@@ -27,7 +27,7 @@ export default function initializeSerializerFactory() {
)
SerializerFactory.registerSerializer(
PinEntity,
PinEntity,
new PinSerializer()
)