3.2+
and if any incompatible 3rd party libs(Cloud etc)
😆 Guide:
google.protobuf.BoolValue
->hope.common.BoolType
, less code, more straightforward. 3 kinds Boolean- message field deprecated flag picker logic
authorization_struct
-->rbac
make it more human friendly:RBAC rbac = 2;
- support
hope.common.BoolType blank = 49;
for theString
specific fieldempty
vsblank
, blank more for the string field, string field may not empty, but may be blank, as it include no qualify character, like space, tab, etc.
- bug fix
- new wire info panel, link to enum
- auto refresh after edit
- upgrade the AST parser
- authority auto complete
- bugfix
升级依赖包+IDE版本:
Upgrade SDK+IDE Version:
{PROJECT}/gradle/libs.versions.toml
apihug = "OLD_VERSION"
->0.6.0-RELEASE
+
- download: ApiHug - API design Copilot
0.2.0
+ - upgrade in IDE:
1.google.protobuf.BoolValue
-> hope.common.BoolType
🏁 find all the broken like:
empty: {
value: false
};
Change TO:
empty: FALSE;
2. authorization_struct
--> rbac
🏁 find all the broken like:
authorization_struct: {
authorities: "PLATFORM_MEMBER_OPERATE";
combinator: OR;
predefined_role_checker: PLATFORM_MANAGER
}
Change TO:
rbac: {
authorities: "PLATFORM_MEMBER_OPERATE";
combinator: OR;
predefined_role_checker: PLATFORM_MANAGER
}
🥳🥳🥳 all done!
- check the spring version:
3.2+
- other 3rd party lib: cloud(2023+), mybatis etc.
- search google for the key words, or contact me!
factoryBeanObjectType issue Invalid value type for attribute 'factoryBeanObjectType': java.lang.String:
java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration.propertySourcesPlaceholderConfigurer
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:60)
Caused by: java.lang.IllegalArgumentException: Invalid value type for attribute 'factoryBeanObjectType': java.lang.String
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getTypeForFactoryBeanFromAttributes(FactoryBeanRegistrySupport.java:86)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:837)
...
... 15 common frames omitted
MappingJdbcConverter issue;
at hope.common.spring.data.persistence.config.HopeAbstractJdbcConfiguration.jdbcConverter(HopeAbstractJdbcConfiguration.java:133)
...
Caused by: java.lang.ClassNotFoundException: org.springframework.data.jdbc.core.convert.MappingJdbcConverter
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 66 common frames omitted