-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the value of
fileName
when no enumFileName
provided. Add `Gen…
…eratedAlways` only when needed. (#49) * take the default value for enumFileName from fileName * do not add GeneratedAlways if not needed * add changeset
- Loading branch information
Showing
3 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"prisma-kysely": patch | ||
--- | ||
|
||
- use the value of fileName when no enumFileName provided. Right now if you use a different fileName and you don't provide enumFileName it will put database in the fileName and enums in types.ts. | ||
- add GeneratedAlways only when needed. Right now it's always added, even if not needed which causes problems with linter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters