-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#16 show data in frontend #17
Conversation
@@ -103,11 +110,10 @@ describe("DataAnalyzer", () => { | |||
{ __rowId: 2, age: 25 }, | |||
{ __rowId: 3, name: "" }, | |||
{ __rowId: 4, name: null }, | |||
{ __rowId: 5, name: undefined }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was ist an dem testcase verkehrt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undefined ist aktuell nicht in den erlaubten Types. Eigentlich müsste man null auch entfernen, da leere Zellen mit "" aufgefüllt werden
import { ValidationError } from "../ValidationError"; | ||
|
||
export class EnumValidator implements Validator { | ||
public validate( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bei enum validation hast du wahrscheinlich oft die selben werte, da könnte man durch caching evtl. noch ein paar ms rauskitzeln
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Die einzige Optimierung, die mir jetzt auf die schnelle einfällt, wäre das speichern der Values als Set statt Array (aber das müsste man immer convertieren, weil es wahrscheinlich nicht serializable ist). Oder hast du eine andere Idee?
No description provided.