Commit 558fa83
authored
Add
* Add WpContextualExcludeFromFields attribute
Allow fields to be excluded from generated field enums while still
being included in contextual types. Useful for catch-all fields like
additional_fields that shouldn't be part of field filtering.
* Add integration-tests feature to wp_contextual
Fixes cfg warnings for integration-tests feature used in generated code.WpContextualExcludeFromFields attribute (#833)1 parent a4790f1 commit 558fa83
3 files changed
+67
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
271 | 310 | | |
272 | 311 | | |
273 | 312 | | |
| |||
342 | 381 | | |
343 | 382 | | |
344 | 383 | | |
| 384 | + | |
| 385 | + | |
345 | 386 | | |
346 | 387 | | |
347 | 388 | | |
| |||
453 | 494 | | |
454 | 495 | | |
455 | 496 | | |
456 | | - | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
457 | 503 | | |
458 | 504 | | |
459 | 505 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
151 | 154 | | |
152 | 155 | | |
153 | 156 | | |
| |||
228 | 231 | | |
229 | 232 | | |
230 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
231 | 237 | | |
232 | 238 | | |
233 | 239 | | |
| |||
335 | 341 | | |
336 | 342 | | |
337 | 343 | | |
| 344 | + | |
338 | 345 | | |
339 | 346 | | |
340 | 347 | | |
| |||
365 | 372 | | |
366 | 373 | | |
367 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
368 | 379 | | |
369 | 380 | | |
370 | 381 | | |
| |||
411 | 422 | | |
412 | 423 | | |
413 | 424 | | |
| 425 | + | |
414 | 426 | | |
415 | 427 | | |
416 | 428 | | |
| |||
667 | 679 | | |
668 | 680 | | |
669 | 681 | | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
670 | 686 | | |
671 | 687 | | |
672 | 688 | | |
| |||
716 | 732 | | |
717 | 733 | | |
718 | 734 | | |
| 735 | + | |
719 | 736 | | |
720 | 737 | | |
721 | 738 | | |
| |||
0 commit comments