cap-js / cds-types

Type definitions for CDS
Apache License 2.0
10 stars 10 forks source link

Make constructors of query classes private #290

Closed daogrady closed 1 month ago

daogrady commented 1 month ago

Disallow

new SELECT(...)

etc. by making all query constructors private, as they should only be used statically:

SELECT(...)