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

[Feature] Match types between the frontend and backend #1182

Open
dimitur2204 opened this issue Nov 24, 2022 · 1 comment
Open

[Feature] Match types between the frontend and backend #1182

dimitur2204 opened this issue Nov 24, 2022 · 1 comment

Comments

@dimitur2204
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Update the types of the campaign
There are wrong typings on the campaign such as:
campaign.beneficiary.person is not required on backend, but type safe on the frontend.

Describe the solution you'd like
Check out the backend schema and updates all the types accordingly.

Production broke, because of an issue we didn't manage to catch, which should have been easily catchable at buildtime 😕!

@dimitur2204 dimitur2204 changed the title [Feature] [Feature] Match types between the frontend and backend Nov 24, 2022
@kachar
Copy link
Member

kachar commented Nov 24, 2022

Let's link this task to #658

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

No branches or pull requests

2 participants