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

Convert editorService from public to protected #3212

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

Exitare
Copy link
Member

@Exitare Exitare commented Dec 21, 2024

As mentioned here the editor in components can be made protected.
This PR does that for all currently available editors.
I hope that this change is helpful

@@ -87,7 +87,7 @@ import { EditorButtonsComponent, QueryOutputComponent } from '@keira/shared/base
],
})
export class SaiEditorComponent extends MultiRowEditorComponent<SmartScripts> implements OnInit {
override readonly editorService = inject(SaiEditorService);
public override readonly editorService = inject(SaiEditorService);
Copy link
Member

Choose a reason for hiding this comment

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

we should define a codestyle about writing public, I personally don't write the code that is unnecessary, but I see that there is no consistency in Keira3 @FrancescoBorzi

@Helias Helias merged commit ead03df into azerothcore:master Dec 21, 2024
12 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