Skip to content

Commit

Permalink
Final comments addressed & copy editing
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimuth committed Sep 9, 2024
1 parent 9bd47ac commit 0981bb1
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 74 deletions.
2 changes: 1 addition & 1 deletion crates/schema/src/def/validate/v9.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl ModuleValidator<'_> {

/// Validates that a type can be used to generate a client type use.
fn validate_for_type_use(&mut self, location: &TypeLocation, ty: &AlgebraicType) -> Result<AlgebraicTypeUse> {
self.typespace_for_generate.add_use(ty).map_err(|err| {
self.typespace_for_generate.parse_use(ty).map_err(|err| {
ErrorStream::expect_nonempty(err.into_iter().map(|error| ValidationError::ClientCodegenError {
location: location.clone().make_static(),
error,
Expand Down
Loading

0 comments on commit 0981bb1

Please sign in to comment.