Skip to content

feat: Accept more inputs for Schema::parse_(str_with)_list - #195

Merged
martin-g merged 1 commit into
apache:mainfrom
Kriskras99:feat/schema_parse_intoiter
May 15, 2025
Merged

martin-g merged 1 commit into
apache:mainfrom
Kriskras99:feat/schema_parse_intoiter

Conversation

@Kriskras99

Copy link
Copy Markdown
Contributor

They now accept anything that can iterate over types that can be converted into strings. For example: Vec<String>, &[&str], and files.iter().map(std::fs::read_to_string).filter_map(Result::ok).

They now accept anything that can iterate over types that can be
converted into strings. For example: `Vec<String>`, `&[&str]`, and
`files.iter().map(std::fs::read_to_string).filter_map(Result::ok)`.
@Kriskras99
Kriskras99 force-pushed the feat/schema_parse_intoiter branch from c1f7ab3 to 5066e27 Compare May 14, 2025 20:32
Comment thread avro/src/schema.rs Resolved
@martin-g
martin-g merged commit 4a65d5d into apache:main May 15, 2025
@martin-g

Copy link
Copy Markdown
Member

Thank you for the contribution, @Kriskras99 !

@Kriskras99

Copy link
Copy Markdown
Contributor Author

@martin-g thanks for merging them so quickly!

Would you accept a PR that fixes some newer clippy lints, or a PR that adds a rust-toolchain.toml file so that Clippy doesn't trigger on the new lints?

@martin-g

Copy link
Copy Markdown
Member

Would you accept a PR that fixes some newer clippy lints, or a PR that adds a rust-toolchain.toml file so that Clippy doesn't trigger on the new lints?

Sure! Any help is welcome!
Please use separate PRs for the different improvements!

@Kriskras99
Kriskras99 deleted the feat/schema_parse_intoiter branch June 26, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants