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 tree group to constants #226

Conversation

erikjanwestendorp
Copy link
Contributor

@patrickdemooij9 We're considering an addition to one of our projects, specifically the inclusion of a 404 module to extend your package. To achieve this, we've developed a custom tree controller and integrated it into the same TreeGroup (the SeoToolkit TreeGroup). However, our current implementation involves the use of a hardcoded string, which we find somewhat precarious. If you decide to modify the alias of the tree group, our extension would cease to function. Therefore, we'd prefer to use a constant to ensure greater stability and compatibility. If you like the addition I can do this for the section alias as well.

Btw, as far as I know @Ambertvu has plans to create a PR to this repo with the 404 extension 😄!

@patrickdemooij9 patrickdemooij9 merged commit 2b597e5 into patrickdemooij9:dev/Umbraco11 Sep 13, 2023
@patrickdemooij9
Copy link
Owner

Looking good! Don't see how this could mess anything up. Can't wait to see the 404 extension PR! 🙌

@erikjanwestendorp erikjanwestendorp deleted the add-tree-group-to-constants branch September 13, 2023 18:26
patrickdemooij9 pushed a commit that referenced this pull request Oct 12, 2023
* Add SeoToolkitTreeGroupAlias to constants class

* Use the TreeGroup alias constant
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