Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

break up create_operation_code in AutoRust #1034

Merged
merged 13 commits into from
Aug 22, 2022
3 changes: 3 additions & 0 deletions services/autorust/codegen/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ impl TypeNameCode {
pub fn is_string(&self) -> bool {
self.type_name == Some(TypeName::String)
}
pub fn is_bytes(&self) -> bool {
self.type_name == Some(TypeName::Bytes)
}
pub fn is_date_time(&self) -> bool {
self.type_name == Some(TypeName::DateTime)
}
Expand Down
Loading