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

Add createRealmLineage mutation to API #1179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LukasKalbertodt
Copy link
Member

This is supposed to make mounting series easier from external scripts. The existing mountSeries API is (a) doing a lot of different things and (b) requires the caller to distinguish between what realms already exist and which still need to be created. This new API is idempotent and more convenient. With this, it would be possible to simplify mountSeries, but we can't simply break that API since the Admin UI is using it. So we keep it for now. We might add an alternative API in the future.

@wsmirnow asked for this. Please let me know if this already helps you! You still have to use the mountSeries API but at least you can always pass [] as new_realms by first calling this new API.

@LukasKalbertodt LukasKalbertodt added the changelog:admin Changes primarily for admins label Jun 12, 2024
@github-actions github-actions bot temporarily deployed to test-deployment-pr1179 June 12, 2024 11:57 Destroyed
@github-actions github-actions bot added the status:conflicts This PR has conflicts that need to be resolved label Jun 20, 2024

This comment was marked as resolved.

@github-actions github-actions bot removed the status:conflicts This PR has conflicts that need to be resolved label Jun 25, 2024
@github-actions github-actions bot temporarily deployed to test-deployment-pr1179 June 25, 2024 08:24 Destroyed

This comment was marked as resolved.

@github-actions github-actions bot added the status:conflicts This PR has conflicts that need to be resolved label Jul 1, 2024
This is supposed to make mounting series easier from external scripts.
The existing `mountSeries` API is (a) doing a lot of different things
and (b) requires the caller to distinguish between what realms already
exist and which still need to be created. This new API is idempotent and
more convenient. With this, it would be possible to simplify
`mountSeries`, but we can't simply break that API since the Admin UI
is using it. So we keep it for now. We might add an alternative API in
the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:admin Changes primarily for admins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant