-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot copy comparer collection #423
Comments
Looks like a bug 🤔 |
It does. @daniel-caichac-DHI in order to fix this properly, can you explain why you want to copy the ComparerCollection in the first place? |
Kind of legacy code now, I might need to update it, but I was accidentally replacing the data of a comprar collection in one of my wrappers, so then I said 'of course, I first need to make a copy of the comparer collector , then I am not modifying my input anymore", and bum, crash. As of now I added a try/expect in my wrappers, so not urgent, but thought you might want to know |
I think it is sensible to copy a whole collection if you want to make changes to the data. It should not be necessary for filtering and analysis. |
I had my wrappers implemented before the |
I guess Henrik is considering whether it should be removed rather than fixed... |
Hi, I think this is a bug (?)
![image](https://private-user-images.githubusercontent.com/97288080/309258302-4b009d0f-a027-4879-8064-16863cd0f7df.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNDMwMjcsIm5iZiI6MTcyMzM0MjcyNywicGF0aCI6Ii85NzI4ODA4MC8zMDkyNTgzMDItNGIwMDlkMGYtYTAyNy00ODc5LTgwNjQtMTY4NjNjZDBmN2RmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDAyMTg0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViNjBiY2Y2Y2YzODRjZDk4MDVmNzU1NjIzMDkzOTcwNjdkNjc2ZjEzZDE0M2YyZTQ4NmZlZjhhNDVkMzk5MGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vi65GVdeGV1LsQdBKhFNjAVMPL50pnreiKBTuxdL73U)
If I have a compare collection, I cannot make a copy of it :/ , but I can copy a single comparer.
Is this ok @ecomodeller ??
The text was updated successfully, but these errors were encountered: