-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat: add external_resources column to waypoints #1747
feat: add external_resources column to waypoints #1747
Conversation
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.
LGTM, although I am not fluen with the backend. But the modifications ook consistent, and you tested it already :)
lgtm, maybe we could add some unit tests around this? That shoudln't be too complicated (mostly copy pasting how it's done with other documents?) |
You're right! I've added a simple model unit test in Thanks for the review guys 😄 |
the more tests, the better, but I'll let you judge to what extent you want to go :) imho you can merge when you feel so |
ad2205f
to
e6ed7c1
Compare
Could you lint the files so I can merge? |
e6ed7c1
to
d20638b
Compare
FYI ie (_, waypoint) = self.put_success_all( ... |
c2corg/c2c_ui#3697
Associated frontend PR: c2corg/c2c_ui#3846
How to test:
Run the added migration using
docker-compose exec api .build/venv/bin/alembic upgrade head
Pull the associated front branch: feature/#3697-add-waypoints-external-resources
From the front app, create a new waypoint and fill the
external_resources
field. Then update the external resources of this.