-
Notifications
You must be signed in to change notification settings - Fork 13
For JavaType allow to add properties if annotation is added #164
Comments
@eddumelendez can you provide more information here? Are you saying you want something like this?
where addAnnotation would return |
@ddgenome I have updated my use case. Additionally, as you mention I would like to specify the property |
@eddumelendez could you provide the resulting diff you would like to see or before and after examples? |
@ddgenome below you can find the current status, what my editor does and what I expect Current file
After apply my editor
Expected
|
Allow adding annotations of the form `Annotations(prop = Value)`. Addresses #164
Allow adding annotations of the form `Annotations(prop = Value)`. Addresses #164
@eddumelendez can you take a look at the changes in #172 ? Rather than have a separate function to add properties to an annotation, I just changed things so you can add an annotation with properties. Your editor would look something like this:
Would that work for you? |
Thanks @ddgenome looks good to fit my use case |
The PR is merged, so it will be in the next release. |
I think this issue should be closed, since was released in 0.10.0, right? |
Yes, I was getting to it. 0.10.0 was only released a couple minutes ago! |
I'm moving from JUnit4 to JUnit5 and currently doing the following steps:
Additionally, I would like to register
SpringExtension
inExtendWith
to have@ExtendWith(SpringExtension.class)
The text was updated successfully, but these errors were encountered: