-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: add allow_extra attribute to DataQualityAttribute struct and adjust method visibility in derive.rs #37
Conversation
…just method visibility in derive.rs
WalkthroughThe pull request introduces two minor modifications across different files in the Nusamai CityGML project. In the Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🔇 Additional comments (1)nusamai-plateau/src/models/iur/uro/common.rs (1)
This addition appears consistent with the macros in You can run this script to scan for references to ✅ Verification successfulLet me analyze the search results for
Let me verify one more aspect about the schema handling:
The
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify usage of `DataQualityAttribute` across the codebase and check if there's any assumption of a strictly defined schema.
# We'll look for relevant lines around usages to ensure there's no conflict.
rg 'DataQualityAttribute' -A 5
Length of output: 92152 Script: #!/bin/bash
# Check how allow_extra is used in other structs and if there's any schema validation logic
rg "#\[citygml\(allow_extra" -A 2
Length of output: 1068 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
DataQualityAttribute
struct to allow additional fields in serialized output.into_object
in theCityGmlElement
trait, improving code readability while maintaining functionality.