potiuk commented on a change in pull request #17682:
URL: https://github.com/apache/airflow/pull/17682#discussion_r710342369



##########
File path: airflow/provider.yaml.schema.json
##########
@@ -195,11 +195,33 @@
     },
     "hook-class-names": {
       "type": "array",
-      "description": "Hook class names that provide connection types to core",
+      "description": "Hook class names that provide connection types to core 
(deprecated by connection-types)",
       "items": {
-        "type": "string"
+          "type": "string"
+      },
+      "deprecated": {
+        "description": "The hook-class-names property has been deprecated in 
favour of connection-types which is more performant version allowing to only 
import individual Hooks rather than all hooks at once",
+        "deprecatedVersion": "2.2"
       }
     },
+    "connection-types": {
+      "type": "array",
+      "description": "Map of connection types mapped to hook class names",

Review comment:
       And I think the "additional extras" was mistake BTW. It would be much 
better if I added it similar way as connection types.




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

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

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


Reply via email to