You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor JsonFactory and SchemaFactory to be much effiently. Especially, the JsonFactory code is too complicate and inefficient as it has hard coded to build the ts.Exression only for the fast-json-stringify Schema. I think creating a new ExpressionFactory who can use every typed value would be much powerful and efficient. Maybe, its code would be even much shorter than the JsonFactory
Therefore, rename the SchemaFactory to the MetadataFactory and separate the JsonFactory to the SchemaFactory and ExpressionFactory, who converts IMetadata to JSON schema and converts any instance to the ts.Expression.
The text was updated successfully, but these errors were encountered:
Refactor
JsonFactory
andSchemaFactory
to be much effiently. Especially, theJsonFactory
code is too complicate and inefficient as it has hard coded to build thets.Exression
only for thefast-json-stringify
Schema. I think creating a newExpressionFactory
who can use every typed value would be much powerful and efficient. Maybe, its code would be even much shorter than theJsonFactory
Therefore, rename the
SchemaFactory
to theMetadataFactory
and separate theJsonFactory
to theSchemaFactory
andExpressionFactory
, who convertsIMetadata
to JSON schema and converts any instance to thets.Expression
.The text was updated successfully, but these errors were encountered: