Skip to content

fix: support random doc comments in oneofs#449

Merged
anthony-swirldslabs merged 2 commits intomainfrom
319-docComments
Mar 28, 2025
Merged

fix: support random doc comments in oneofs#449
anthony-swirldslabs merged 2 commits intomainfrom
319-docComments

Conversation

@anthony-swirldslabs
Copy link
Copy Markdown
Contributor

Description:
Allow one to have free-standing doc comments inside oneof fields. Also test doc comments in various random locations.

Related issue(s):

Fixes #319

Notes for reviewer:
A new test model is added to PBJ integ tests that previously failed to compile. It's an extended version of the sample model from the description of the issue.

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Anthony Petrov <anthony@swirldslabs.com>
Signed-off-by: Anthony Petrov <anthony@swirldslabs.com>
@github-actions
Copy link
Copy Markdown

JUnit Test Report

   68 files  ±0     68 suites  ±0   2m 23s ⏱️ ±0s
1 273 tests ±0  1 270 ✅ ±0   3 💤 ±0  0 ❌ ±0 
7 128 runs  ±0  7 109 ✅ ±0  19 💤 ±0  0 ❌ ±0 

Results for commit c0bcb59. ± Comparison against base commit 1396216.

@github-actions
Copy link
Copy Markdown

Integration Test Report

    391 files  +1      391 suites  +1   14m 22s ⏱️ - 1m 24s
114 761 tests +6  114 761 ✅ +6  0 💤 ±0  0 ❌ ±0 
114 989 runs  +6  114 989 ✅ +6  0 💤 ±0  0 ❌ ±0 

Results for commit c0bcb59. ± Comparison against base commit 1396216.

@anthony-swirldslabs anthony-swirldslabs merged commit d8a403c into main Mar 28, 2025
10 checks passed
@anthony-swirldslabs anthony-swirldslabs deleted the 319-docComments branch March 28, 2025 17:21
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.

PBJ processes document comments (i.e. /**...*/) as tokens

3 participants