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

Allow custom locations to be added #27

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Allow custom locations to be added #27

merged 1 commit into from
Jul 19, 2023

Conversation

richfitz
Copy link
Member

@richfitz richfitz commented Jul 7, 2023

This is a bit ropey, and worth chatting about. In particular, I wonder if instead of "custom" type we might use something like the fully qualified driver name as the type? Not sure, really. The issue here is that we expect that other outpack implementations (e.g. a python or rust one) pointed at this archive need to know that they don't need to stress about the location entry.

Look at mrc-ide/orderly.sharepoint#1 for the implementation of a custom driver that inspired this.

Copy link
Contributor

@r-ash r-ash left a comment

Choose a reason for hiding this comment

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

Looks good, "custom" sounds good to me. Though I suppose if we add another "custom" type at some point which is supported in Rust or Python then we'll have to do some switching on the first arg to a custom. Instead of just checking the name itself. But I think that's probably fine?

@richfitz
Copy link
Member Author

yeah, I really don't know how this is going to go in practice with another implementation (that's really why I left that comment about future change there). I expect we'll need to move things around a bit

@richfitz richfitz merged commit 15274cb into main Jul 19, 2023
7 checks passed
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