You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/09/01 20:47:03 UTC

[GitHub] [beam] kw2542 commented on a change in pull request #15442: [BEAM-12767] Add another unit test for PipelineOptions deserialization

kw2542 commented on a change in pull request #15442:
URL: https://github.com/apache/beam/pull/15442#discussion_r700561990



##########
File path: sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptionsFactory.java
##########
@@ -501,7 +502,9 @@ public Registration(Class<T> proxyClass, List<PropertyDescriptor> beanInfo) {
   private static final DefaultDeserializationContext DESERIALIZATION_CONTEXT =
       new DefaultDeserializationContext.Impl(MAPPER.getDeserializationContext().getFactory())
           .createInstance(
-              MAPPER.getDeserializationConfig(), new TokenBuffer(MAPPER, false).asParser(), null);
+              MAPPER.getDeserializationConfig(),
+              new TokenBuffer(MAPPER, false).asParser(),
+              new InjectableValues.Std());

Review comment:
       Could you help me understand what does adding `InjectableValues.Std()` change?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org