BeanDeserializerBase::_replaceProperty() should not locate the props index using object from another array
See original GitHub issueDescribe the bug BeanDeserializerBase::resolve(DeserializationContext ctxt) will replace the “creatorProps” props using contextualize props. But the “SettableBeanProperty origProp” is from “_beanProperties”. The “creatorProps” is created as
creatorProps = _valueInstantiator.getFromObjectArguments(ctxt.getConfig());
Version information 2.13.3
To Reproduce The second property “expireTime” is two different object in “creatorProps” & “_beanProperties”
Expected behavior May consider to compare the property name string instead of the props object.
Additional context This is encountered in Micronaut framework.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
React: How to pass one array item to another array using e ...
I'm just completely stumped. This is where the function is called: {props.data.map(function (i, index) ...
Read more >Indexed collections - JavaScript - MDN Web Docs - Mozilla
This chapter introduces collections of data which are ordered by an index value. This includes arrays and array-like constructs such as Array objects...
Read more >How Can I Remove a Specific Item from an Array? - Sentry
There are a few methods you can use to remove specific elements from an array in JavaScript. If the pop() or shift() methods...
Read more >Accessing Data through Props with Known Key Names in ...
As seen, there are two different objects inside the employee ; To render values inside the array of the object, you can make...
Read more >Data Structures: Objects and Arrays - Eloquent JavaScript
The elements in an array are stored as the array's properties, using numbers as property names. Because you can't use the dot notation...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@liang-shen i can understand your description, but please give an example where this is actually problematic.
i dont understand the issue, can you give a test case? Also without micronaut please, since we introduce our own modifications to bean scanning in micronaut.