@financial-times/cp-content-pipeline-client 0.6.7 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -156,6 +156,19 @@
156
156
  * devDependencies
157
157
  * @financial-times/cp-content-pipeline-schema bumped from ^0.7.6 to ^0.7.7
158
158
 
159
+ ### Dependencies
160
+
161
+ * The following workspace dependencies were updated
162
+ * devDependencies
163
+ * @financial-times/cp-content-pipeline-schema bumped from ^0.7.7 to ^0.7.8
164
+
165
+ ## [0.6.8](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.6.7...cp-content-pipeline-client-v0.6.8) (2023-04-26)
166
+
167
+
168
+ ### Bug Fixes
169
+
170
+ * output null instead of undefined in generated types and handle nulls correctly in ui ([d1022b0](https://github.com/Financial-Times/cp-content-pipeline/commit/d1022b06c39a5167757ba2608bdf0f2cf170dd0e))
171
+
159
172
  ## [0.6.2](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.6.1...cp-content-pipeline-client-v0.6.2) (2023-03-16)
160
173
 
161
174
 
package/codegen.js CHANGED
@@ -20,8 +20,6 @@ const config = {
20
20
  config: {
21
21
  // discourage transforming data in consumers by making properties readonly
22
22
  immutableTypes: true,
23
- // make types better-compatible with React, which doesn't like null
24
- maybeValue: 'T',
25
23
  // output types for custom scalars
26
24
  scalars: mapValues(scalars, (scalar) => scalar.codegenType),
27
25
  // don't ouptput __typename unless requested