Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Conversation

@jonathanblade
Copy link
Contributor

@jonathanblade jonathanblade commented Dec 17, 2024

Change Summary

Related to #1008.

I added PKG_VERSION variable in prisma.generator.templates.metadata.py.jinja and warning message (not error) if prisma.__version__ (latest client version) is greater than PKG_VERSION (generated client version).

The only concern is that when releasing, we'll have to update test_sync[metadata.py].raw and test_async[metadata.py].raw.

@RobertCraigie If you know a better solution, let me know.

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.

@jonathanblade
Copy link
Contributor Author

jonathanblade commented Dec 17, 2024

The same PR #1018. Closing this one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant