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

Release 0.4.0 #19

Merged
merged 6 commits into from
Sep 13, 2024
Merged

Release 0.4.0 #19

merged 6 commits into from
Sep 13, 2024

Conversation

crazybolillo
Copy link
Owner

This release involves mainly code quality improvements achieved by implementing a service layer and unit tests for CRUD operations. One new feature has been added by solving #13.

This should reduce code duplication specially when needing to read an
endpoint after creation/update. It also separates concerns and results
in cleaner code.
This commit tests all operations supported by the endpoint
handler. It also establishes the structure for future tests. The tests
rely on a external postgres server.

A compose file has been added to quickly set up the postgres server. This was prefered over
adding an extra dependency like testcontainers which also involves more code to wire containers.

Any bugs found during testing have been fixed as well.
Account code may be set during endpoint creation. At the moment it
behaves in a similar fashion as the endpoint ID, meaning it is static
and can only be set during creation.

Closes #13.
These tags were removed since the models they resided in are mostly for
unmarshalling instead of marshalling so they have no effect.
@crazybolillo crazybolillo merged commit 70b9628 into main Sep 13, 2024
6 checks passed
@crazybolillo crazybolillo deleted the release-0.4.0 branch September 13, 2024 06:28
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.

1 participant