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 2 weeks ago

daogrady commented 2 weeks ago

Disallow

new SELECT(...)

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

SELECT(...)