DebadityaHait commented on code in PR #2397:
URL: 
https://github.com/apache/datafusion-ballista/pull/2397#discussion_r3908152251


##########
ballista/api-types/Cargo.toml:
##########
@@ -26,5 +26,13 @@ authors = ["Apache DataFusion <[email protected]>"]
 edition = { workspace = true }
 rust-version = { workspace = true }
 
+[features]
+default = []
+utoipa = ["dep:utoipa"]
+
 [dependencies]
 serde = { workspace = true, features = ["derive"] }
+utoipa = { workspace = true, optional = true }
+
+[dev-dependencies]
+serde_json = { workspace = true }

Review Comment:
   Applied! Added the self dev-dependency in allista/api-types/Cargo.toml and 
verified cargo test -p ballista-api-types directly runs the DTO schema tests 
now. Thank you @avantgardnerio!



##########
ballista/api-types/Cargo.toml:
##########
@@ -26,5 +26,13 @@ authors = ["Apache DataFusion <[email protected]>"]
 edition = { workspace = true }
 rust-version = { workspace = true }
 
+[features]
+default = []
+utoipa = ["dep:utoipa"]
+
 [dependencies]
 serde = { workspace = true, features = ["derive"] }
+utoipa = { workspace = true, optional = true }
+
+[dev-dependencies]
+serde_json = { workspace = true }

Review Comment:
   Applied! Added the self dev-dependency in `ballista/api-types/Cargo.toml` 
and verified `cargo test -p ballista-api-types` directly runs the DTO schema 
tests now. Thank you @avantgardnerio!



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to