prisma-client-py icon indicating copy to clipboard operation
prisma-client-py copied to clipboard

fix(generator): don't truncate datetime field precision

Open Oblynx opened this issue 1 year ago • 2 comments

closes #804

  • [ ] Unit tests for the changes exist
  • [ ] Tests pass without significant drop in coverage
  • [ ] Documentation reflects changes where applicable
  • [ ] Test snapshots have been updated if applicable

By submitting this pull request, I confirm that you can use, modify, copy and redistribute this contribution, under the terms of your choice.

Change Summary

Please summarise the changes this pull request is making here.

Checklist

  • [ ] Unit tests for the changes exist
  • [ ] Tests pass without significant drop in coverage
  • [ ] Documentation reflects changes where applicable
  • [ ] Test snapshots have been updated if applicable

Agreement

By submitting this pull request, I confirm that you can use, modify, copy and redistribute this contribution, under the terms of your choice.

Oblynx avatar Aug 21 '23 18:08 Oblynx

@RobertCraigie do you need anything more from me here?

Oblynx avatar Aug 22 '23 15:08 Oblynx

It would be great to have a test for this case, here's a link to the docs on how to write tests - let me know if you have any questions!

RobertCraigie avatar Aug 22 '23 16:08 RobertCraigie