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

Rjf/easier compass app interactions #29

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

robfitzgerald
Copy link
Collaborator

@robfitzgerald robfitzgerald commented Nov 10, 2023

this PR makes it easier to work with CompassApp outside of routee-compass for when users want to append new builders to a CompassAppBuilder instance and then use the fn try_from(pair: (&Config, &CompassAppBuilder)) method on CompassApp. to previously do this, i had to duplicate the config reading code and also manually take mutable builder collections, modify them, and build a new CompassAppBuilder to inject builders.

Copy link
Collaborator

@nreinicke nreinicke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me and will definitely make it easier to add custom builders. Thanks for adding in!

@robfitzgerald robfitzgerald merged commit cf4968d into main Nov 13, 2023
5 checks passed
@robfitzgerald robfitzgerald deleted the rjf/easier-compass-app-interactions branch November 13, 2023 16:18
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.

2 participants