You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cc @soninaren
Right now any updates to annotations even adding new properties to existing annotations require updating maven plugin
For example, CosmosDBBinding.java is a copy of CosmosDBTrigger.java.
Need to decouple library and plugin dependency. All the information needed for plugin should be coming from azure-functions-java-library
The text was updated successfully, but these errors were encountered:
In this pr, i remove other binding classes except BaseBinding, attributes was get by java reflect and save to the map of Basebinding, i will get all attributes defined in annotation and save attributes which is different with its default value, besides, a serializer was created to keep the format of generated function.json.
For now adding new properties to existing annotations will not affect maven plugin, but remove an existing annotations will still not work. I store the type and direction of annotations in BindingEnum and save the relevance in BindingFactory, which import all annotations from java lib.
Is there any other way for us to get the type and direction of each annotation? If so, we could decouping the dependency between function lib and maven plugin.
Could you please update the function.json scheme? Schema could be much helpful in local validation and users could verify and update their code according to schema as well
cc @soninaren
Right now any updates to annotations even adding new properties to existing annotations require updating maven plugin
For example, CosmosDBBinding.java is a copy of
CosmosDBTrigger.java.
Need to decouple library and plugin dependency. All the information needed for plugin should be coming from azure-functions-java-library
The text was updated successfully, but these errors were encountered: