Skip to content
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

TS2300 Duplicate identifier: duplicated imports when mock enabled #1204

Closed
dyatko opened this issue Feb 5, 2024 · 7 comments · Fixed by #1205
Closed

TS2300 Duplicate identifier: duplicated imports when mock enabled #1204

dyatko opened this issue Feb 5, 2024 · 7 comments · Fixed by #1205
Assignees
Labels
bug Something isn't working mock Related to mock generation
Milestone

Comments

@dyatko
Copy link

dyatko commented Feb 5, 2024

What are the steps to reproduce this issue?

  1. Set mode: 'tags' and mock: true

What happens?

The generated file contains duplicated type imports from schemas

What were you expecting to happen?

No double imports

What versions are you using?

Operating System: MacOS
Package Version: 6.24.0

@melloware melloware added the bug Something isn't working label Feb 5, 2024
@melloware
Copy link
Collaborator

melloware commented Feb 5, 2024

@soartec-lab @codebutler another Mock issue to look at?

@melloware melloware added the mock Related to mock generation label Feb 5, 2024
@soartec-lab
Copy link
Collaborator

There are some other bugs as well, so I'll check here after fixing them.

@soartec-lab
Copy link
Collaborator

It may be related to #1201 , and #1202

@soartec-lab
Copy link
Collaborator

@dyatko
Hi, this issue was bug, so i fixed by #1205
The next version will have the import working fine, so check it out when it's released.

@dyatko
Copy link
Author

dyatko commented Feb 6, 2024

Nice, thank you very much.
Looking forward!

@soartec-lab
Copy link
Collaborator

Hi, @dyatko

Since we released "v6.25.0" this issue has been fixed 👍

@dyatko
Copy link
Author

dyatko commented Feb 18, 2024

@soartec-lab amazing, going to try tomorrow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mock Related to mock generation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants