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 2020/12/29 16:49:12 UTC

[GitHub] [beam] krakowski edited a comment on pull request #13622: [DO NOT MERGE][BEAM-11530] Annotated setter parameters handled wrong in schema creation

krakowski edited a comment on pull request #13622:
URL: https://github.com/apache/beam/pull/13622#issuecomment-752154819


   Just to be sure I created a `@Nullable` annotation inside `org.apache.beam.sdk.schemas.utils` (which should be on the classpath) and replaced `org.apache.avro.reflect.Nullable` with `org.apache.beam.sdk.schemas.utils.Nullable`.
   
   ```java
   package org.apache.beam.sdk.schemas.utils;
   
   import java.lang.annotation.Retention;
   import java.lang.annotation.RetentionPolicy;
   
   @Retention(RetentionPolicy.RUNTIME)
   public @interface Nullable {}
   ```
   
   Unfortunately the test is still failing with the same message because `method.getParameters()[0].getAnnotatedType().getAnnotations()` is empty.


----------------------------------------------------------------
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.

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