Skip to content

Fix pointers equality in TypeDefinitionsEquivalent function#952

Merged
deepmap-marcinr merged 3 commits intooapi-codegen:masterfrom
spinillos:fix/type-definitions-pointers-equality
May 5, 2023
Merged

Fix pointers equality in TypeDefinitionsEquivalent function#952
deepmap-marcinr merged 3 commits intooapi-codegen:masterfrom
spinillos:fix/type-definitions-pointers-equality

Conversation

@spinillos
Copy link
Copy Markdown
Contributor

OAPISchema is a pointer and using == to check the equality of the pointers is always false. The correct way is doing it using DeepEqual.

@spinillos
Copy link
Copy Markdown
Contributor Author

@deepmap-marcinr Sorry for the delay updating this PR. Looks like that it doesn't have more conflicts.

@deepmap-marcinr deepmap-marcinr merged commit d62f860 into oapi-codegen:master May 5, 2023
adrianpk pushed a commit to foorester/oapi-codegen that referenced this pull request Jan 16, 2024
…egen#952)

Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>
adrianpk added a commit to foorester/oapi-codegen that referenced this pull request May 31, 2024
…egen#952)

Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>
danicc097 pushed a commit to danicc097/oapi-codegen that referenced this pull request Aug 31, 2024
…egen#952)

Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>
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.

2 participants