Francesco Tumanischvili
Francesco Tumanischvili
Thanks! I would go for a copy constructor
Thanks for your effort in this area, which I believe is not really trivial. About [your question](https://github.com/swagger-api/swagger-core/issues/2227#issuecomment-751477294), models are written by hand. About deep copy strategies, possibly this is not...
yes this probably makes sense; similarly to what you mentioned above, IMO the approach would include a mechanism for alternative pluggable implementations of deepCopy (e.g. implemented with "custom" full reflection,...
@char0n @tim-lai This is because we don't have metadata for ref key (it's just a string), and mechanism is based on metadata. we can solve this either : 1. by...
@char0n excellent, just a note: the `reference-key` added to `classes` should be added to [tokens](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ls/src/config/tokens.ts)
replaced by [2082](https://github.com/swagger-api/swagger-parser/pull/2082)
Closing ticket as probably comment above by @sadmonsterr provides the solution. Please reopen if you're still experiencing issues
@char0n We are at a point where we'd need if possible to work around this the best way we can, I recap here the thing and the possible discussed workarounds,...
bumped on this one, moved to `triaging` not get it lost in `new issues`
@char0n just mentioning for future reference that if I get it right this would probably affect behavior in FS based environments, like IDE extensions e.g. https://github.com/swagger-api/apidom-lsp-vscode (added [this ticket](https://github.com/swagger-api/apidom-lsp-vscode/issues/65))