Skip to content

Conversation

@benoitnesme
Copy link
Contributor

@benoitnesme benoitnesme commented Sep 21, 2023

doc: fix one Selector code sample that is not compiling

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

The provided code sample didn't compile and was misleading, especially because of the lack of [] around AnimalsState in @selector

Issue Number: N/A

What is the new behavior?

The code sample will compile directly when copied to local machine

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

The provide example doesn't compile and is misleading, especially because of the lack of [] around AnimalsState in @selector
@markwhitfeld markwhitfeld changed the title Fix example code not compiling docs: example code not compiling Sep 26, 2023
@markwhitfeld markwhitfeld merged commit a8fcbd0 into ngxs:release Sep 26, 2023
markwhitfeld pushed a commit that referenced this pull request Nov 10, 2023
* docs: example code not compiling (#2059)

The provide example doesn't compile and is misleading, especially because of the lack of [] around AnimalsState in @selector

* Update installation.md

Added snippet for installing the devtools plugin.

---------

Co-authored-by: benoitnesme <[email protected]>
markwhitfeld pushed a commit that referenced this pull request Nov 30, 2023
* docs: example code not compiling (#2059)

The provide example doesn't compile and is misleading, especially because of the lack of [] around AnimalsState in @selector

* Update installation.md

Added snippet for installing the devtools plugin.

---------

Co-authored-by: benoitnesme <[email protected]>
(cherry picked from commit d2f9ef4)
@markwhitfeld markwhitfeld added this to the v.18.0.0 milestone Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants