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

Implement data sanitation workaround #28

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

ByteOtter
Copy link
Member

Implement a workaround in dealing with potentially unsanitary response data with NetBox.

  • Add a list of confirmed troublesome structs
  • Add checks at struct generation and mark all fields of unsanitary structs as Option

What does this PR change?

Tick the applicable box:

  • Add new feature
  • Security changes
  • Tests
  • Documentation changed

  • General Maintenance

Links

Fixes: n/A

  • DONE

Documentation

  • No documentation needed

  • DONE

@ByteOtter ByteOtter self-assigned this Sep 5, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation rust labels Sep 5, 2024
@ByteOtter ByteOtter requested a review from SchoolGuy September 5, 2024 09:15
@ByteOtter ByteOtter force-pushed the sanitation-workaround branch from d4984a8 to 817f2f8 Compare September 5, 2024 09:20
Implement a workaround in dealing with potentially unsanitary response
data with NetBox.

* Add a list of confirmed troublesome structs
* Add checks at struct generation and mark all fields of unsanitary
structs as Option
@ByteOtter ByteOtter force-pushed the sanitation-workaround branch from 817f2f8 to 99c9f38 Compare September 5, 2024 09:22
@ByteOtter ByteOtter merged commit 7c54106 into The-Nazara-Project:main Sep 5, 2024
4 checks passed
@ByteOtter ByteOtter deleted the sanitation-workaround branch September 5, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation rust
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants