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

update pipeline setting to trigger on certain branch names #61

Closed
sdresselmann opened this issue Apr 21, 2024 · 0 comments
Closed

update pipeline setting to trigger on certain branch names #61

sdresselmann opened this issue Apr 21, 2024 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@sdresselmann
Copy link
Owner

sdresselmann commented Apr 21, 2024

The pipelines for running tests and formatting code should be triggered when branches are pushed to, not just when pull requests are opened. This ensures that errors are detected immediately upon pushing changes, rather than waiting until a pull request is opened.

Trigger on branch names:

  • feature/
  • task/
  • bugfix/
  • hotfix/
@sdresselmann sdresselmann self-assigned this Apr 21, 2024
@sdresselmann sdresselmann added the documentation Improvements or additions to documentation label Apr 21, 2024
@sdresselmann sdresselmann changed the title Update pipeline setting to trigger on branch names update pipeline setting to trigger on certain branch names Apr 21, 2024
sdresselmann added a commit that referenced this issue Apr 25, 2024
This should also allow for easier integration inside the GitHub pipeline, by accessing the secrets.
sdresselmann added a commit that referenced this issue Apr 25, 2024
The previous change was only for testing purposes, currently they are not needed for functionality.
sdresselmann added a commit that referenced this issue Apr 27, 2024
sdresselmann added a commit that referenced this issue Apr 27, 2024
While this solution comes with quite a bit of boilerplate code, this seems to be the most straight forward way without any auto generation of code from mapper libraries.
sdresselmann added a commit that referenced this issue Apr 27, 2024
Sadly the converter solution was a dead end, due to dart not being able to invoke interface methods via generic types.

However, a similar solution is utilizing a middleware service for each requested entity, that fetched the required json data from the firestore and calls the corresponding toJson/fromJson method to map json data to entity model.
sdresselmann added a commit that referenced this issue Apr 28, 2024
This way their naming corresponds which the related firestore API call. This improves readability and comprehensibility of the API usage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Done
Development

No branches or pull requests

1 participant