Commit 0514825
Instead of the misleading 'Invalid css selector syntax' error, throw
NotSupportedException with a descriptive message when an unrecognized
CSS pseudo-class or pseudo-element (e.g. :nth-child, :first-child) is
encountered. This makes it clear the syntax is valid CSS but not yet
implemented in FSharp.Data's CSS selector engine.
Co-authored-by: Repo Assist <repo-assist@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Don Syme <dsyme@users.noreply.github.com>
1 parent c0d22d1 commit 0514825
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
181 | 191 | | |
182 | 192 | | |
183 | 193 | | |
| |||
0 commit comments