Skip to content

Handle Formatting Cyclic Types: Omit struct fields tagged with "gomega:omit" - #831

Draft
meln5674 wants to merge 1 commit into
onsi:masterfrom
meln5674:feature/format-omit-tag
Draft

Handle Formatting Cyclic Types: Omit struct fields tagged with "gomega:omit"#831
meln5674 wants to merge 1 commit into
onsi:masterfrom
meln5674:feature/format-omit-tag

Conversation

@meln5674

@meln5674 meln5674 commented Mar 9, 2025

Copy link
Copy Markdown

Fixes #830

This patch checks for a new struct tag gomega:"omit", and if so, replaces it with a message indicating it was omitted, plus the address if it is a pointer.

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.

Formatting Cyclic Types produces infinite output

1 participant