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

Make project starting when site is removed via create-app #565

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

Conversation

fraxachun
Copy link
Contributor

Currently the application does not start anymore when create-app remove-site has been executed due to the deep incorporation of SiteConfigs. This PR injects a lightweight type to comply the needs and is to be meant deleted anyway. This way the application will start with a functioning scope.

Copy link
Collaborator

@johnnyomair johnnyomair 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 it be better to remove the site configs from Admin and API when there's no site? Is this even possible?

@fraxachun
Copy link
Contributor Author

Wouldn't it be better to remove the site configs from Admin and API when there's no site? Is this even possible?

I think it's easier just not to touch too much in Admin and API. If you remove the site you could also remove some modules in the API und some Providers in Admin and and and. So my answer is that it is not really possible.

@nsams
Copy link
Member

nsams commented Nov 28, 2024

maybe we should get rid of this remove-site instead of doing it "half".

@fraxachun
Copy link
Contributor Author

maybe we should get rid of this remove-site instead of doing it "half".

My pleasure!
#577

@fraxachun fraxachun closed this Nov 29, 2024
@fraxachun
Copy link
Contributor Author

fraxachun commented Nov 29, 2024

Feedback from the ones who actually use this script: better a half way solution than nothing. So I'll reopen this and we should either merge this PR or #577

@fraxachun fraxachun reopened this Nov 29, 2024
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