Skip to content

Conversation

@dylanratcliffe
Copy link
Member

Copy link
Contributor

@DavidS-ovm DavidS-ovm left a comment

Choose a reason for hiding this comment

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

Wouldn't this also want to allow using a preset?

@dylanratcliffe
Copy link
Member Author

Wouldn't this also want to allow using a preset?

I thought that too, but I realised that I didn't actually allow the user to specify both values in the request, we just allow them to send a config.BlastRadiusConfig so this was what I came up with, which isn't amazing TBH. Any better suggestions?

@DavidS-ovm
Copy link
Contributor

Ah, yeah, that's unfortunate. Eventually we might want to change BlastRadiusConfig to a one_of BlastRadiusConfig|BlastRadiusPreset. Not sure we really need that level of complexity just now

@dylanratcliffe dylanratcliffe merged commit 994d125 into main Jul 15, 2024
@dylanratcliffe dylanratcliffe deleted the allow-blast-radius-override branch July 15, 2024 15:03
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.

3 participants