Skip to content

Commit

Permalink
feat(psl): make omitApi GA (#5097)
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln authored Dec 20, 2024
1 parent 59c39b6 commit cc0167b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion psl/psl-core/src/common/preview_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ impl<'a> FeatureMapWithProvider<'a> {
| Metrics
| MultiSchema
| NativeDistinct
| OmitApi
| PostgresqlExtensions
| PrismaSchemaFolder
| RelationJoins
Expand Down Expand Up @@ -211,6 +210,7 @@ impl<'a> FeatureMapWithProvider<'a> {
| NamedConstraints
| NApi
| NativeTypes
| OmitApi
| OrderByAggregateGroup
| OrderByNulls
| OrderByRelation
Expand Down
2 changes: 1 addition & 1 deletion psl/psl/tests/config/generators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ fn nice_error_for_unknown_generator_preview_feature() {
.unwrap_err();

let expectation = expect![[r#"
[1;91merror[0m: [1mThe preview feature "foo" is not known. Expected one of: deno, driverAdapters, metrics, multiSchema, nativeDistinct, postgresqlExtensions, views, relationJoins, prismaSchemaFolder, omitApi, strictUndefinedChecks[0m
[1;91merror[0m: [1mThe preview feature "foo" is not known. Expected one of: deno, driverAdapters, metrics, multiSchema, nativeDistinct, postgresqlExtensions, views, relationJoins, prismaSchemaFolder, strictUndefinedChecks[0m
--> schema.prisma:3
 | 
 2 |  provider = "prisma-client-js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ model Blog {
title String
@@fulltext([content, title])
}
// [1;91merror[0m: [1mThe preview feature "fullTextSearchPostgres" is not known. Expected one of: deno, driverAdapters, metrics, multiSchema, nativeDistinct, postgresqlExtensions, views, relationJoins, prismaSchemaFolder, omitApi, strictUndefinedChecks[0m
// [1;91merror[0m: [1mThe preview feature "fullTextSearchPostgres" is not known. Expected one of: deno, driverAdapters, metrics, multiSchema, nativeDistinct, postgresqlExtensions, views, relationJoins, prismaSchemaFolder, strictUndefinedChecks[0m
// --> schema.prisma:3
//  | 
//  2 |  provider = "prisma-client-js"
Expand Down

0 comments on commit cc0167b

Please sign in to comment.