Skip to content

Commit

Permalink
break up create_operation_code in AutoRust (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctaggart authored Aug 22, 2022
1 parent 4d058c7 commit 5ccbd42
Show file tree
Hide file tree
Showing 2 changed files with 428 additions and 312 deletions.
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

0 comments on commit 5ccbd42

Please sign in to comment.