Skip to content
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

Merged
merged 14 commits into from
Jan 25, 2024
Merged

#16 show data in frontend #17

merged 14 commits into from
Jan 25, 2024

Conversation

Jank1310
Copy link
Owner

No description provided.

@Jank1310 Jank1310 linked an issue Jan 23, 2024 that may be closed by this pull request
@Jank1310 Jank1310 changed the title chore: handle cancellations #16 show data in frontend Jan 23, 2024
@Jank1310 Jank1310 requested a review from Flofie January 24, 2024 15:54
@@ -103,11 +110,10 @@ describe("DataAnalyzer", () => {
{ __rowId: 2, age: 25 },
{ __rowId: 3, name: "" },
{ __rowId: 4, name: null },
{ __rowId: 5, name: undefined },
Copy link
Collaborator

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?

Copy link
Owner Author

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(
Copy link
Collaborator

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

Copy link
Owner Author

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?

@Jank1310 Jank1310 marked this pull request as ready for review January 25, 2024 07:48
@Jank1310 Jank1310 merged commit dfb2cd0 into main Jan 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show data in frontend
2 participants