fix(clientExtensions): Include composites into default selection (#19517)
* fix(clientExtensions): Include composites into default selection
Only scalars were included into the default selection when extensions
are on.
Fixed by adding a separate section for composites in a payload type and
changing default selection to `scalars & composites`.
After fixing that, another problem with composites got uncovered: when
client extensions are enabled, delegate types for composites are broken.
Since fluent api does not work for composites (and was not inteded too),
generating delegate types was a mistake to begin with. Fixed by removing
delegate types and fluent getters for composites. I will not call it a
breaking change since again, this never worked and our types were just
incorrect.
Fix #17388
* Snapshots
* Restore original formatting
base
00fc89a
6 months ago by SevInf
+22%
feat(client): Adjust some of the tracing spans and add more internal spans
Adjust `connect` span to include the time spent waiting for the library
loading.
Adds following internal spans:
- `instantiateLibrary` - overarching span over resolving openssl
version, looking up and loading library and isntantiatiating engine
isntance.
- `getPlatform` - OS/openssl version detection
- `engineConstructor` - creation of engine instaance after library have
been loaded.
- `dmmf` - overarching span for all dmmf loading routines
- `getDmmf` - `getDmmf` call, as measured from the client
- `parseDmmf` - parsing dmmf string
- `processDmmf` - constructing `DMMFHelper` class
- `processResults` - unpacking/deserializing engine response after we
got it from the engine.
3bc520c
8 months ago by SevInf
-24%
feat(client): Adjust some of the tracing spans and add more internal spans
Adjust `connect` span to include the time spent waiting for the library
loading.
Adds following internal spans:
- `instantiateLibrary` - overarching span over resolving openssl
version, looking up and loading library and isntantiatiating engine
isntance.
- `getPlatform` - OS/openssl version detection
- `engineConstructor` - creation of engine instaance after library have
been loaded.
- `dmmf` - overarching span for all dmmf loading routines
- `getDmmf` - `getDmmf` call, as measured from the client
- `parseDmmf` - parsing dmmf string
- `processDmmf` - constructing `DMMFHelper` class
- `processResults` - unpacking/deserializing engine response after we
got it from the engine.