You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description and expected behavior
Zod does not generate the "[...]OrderByWithRelationInput.schema" (but tries to import it) when Full Text Search is activated.
It seems like Prisma generates a OrderByWithRelationInput type in order to Full Text Search work, but '@core/zod' cannot handle that correctly.
Screenshots
Environment:
ZenStack version: 1.0.0-beta.20
Prisma version: 5.2.0
Database type: Postgresql
The text was updated successfully, but these errors were encountered:
Thanks for filing this @mateus-p . When full-text search is enabled, the reference to OrderByXXX schema needs to use a variant name. I'll fix it in the next release.
Description and expected behavior
Zod does not generate the "[...]OrderByWithRelationInput.schema" (but tries to import it) when Full Text Search is activated.
It seems like Prisma generates a OrderByWithRelationInput type in order to Full Text Search work, but '@core/zod' cannot handle that correctly.
Screenshots
![image](https://private-user-images.githubusercontent.com/56934662/263422625-5fe7abb5-1a23-4ec7-97dd-8754e03efba8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMjkxMzIsIm5iZiI6MTcyMjAyODgzMiwicGF0aCI6Ii81NjkzNDY2Mi8yNjM0MjI2MjUtNWZlN2FiYjUtMWEyMy00ZWM3LTk3ZGQtODc1NGUwM2VmYmE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIxMjAzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI0ZmQ2YTYyZmI3MTlhYjhlMGE5NzRhYWNhOWIzY2EwNGY2ZjBhNTZiNDlhZjM0Y2IzMDViNmRiMTE1YzQ0MzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FiYRzkntLX2iH1cp3uhCeNVrZ_jOGnTVDGTVN8nmXX8)
![image](https://private-user-images.githubusercontent.com/56934662/263423062-3ad85e5d-ba5f-45af-8f13-38d0d414225e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMjkxMzIsIm5iZiI6MTcyMjAyODgzMiwicGF0aCI6Ii81NjkzNDY2Mi8yNjM0MjMwNjItM2FkODVlNWQtYmE1Zi00NWFmLThmMTMtMzhkMGQ0MTQyMjVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIxMjAzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ1ZmYxNjE1OThkYjE1MWY3MDY4ZTJiOWFlZTg1OWU2MDNkODk1MzI0YmVjMmQ3Mzg1YmMwZjVmNTgwMzQ0MjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.GQlazABtKTMWC20gCaxUStZ7A_YVDBWPVmRZXNQLnNY)
Environment:
The text was updated successfully, but these errors were encountered: