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

FailedWhenContains with SendWithCallbacks #202

Merged
merged 3 commits into from
Oct 17, 2024
Merged

Conversation

shaazmik
Copy link
Contributor

Greetings. I was able to implement full pagination support for devices where it is not possible to disable it. However, for full coverage, there was not enough option for SendWithCallbacks to be able to handle invalid commands. Then we can consider that it is safe to implement pagination through the library.

I know that it is possible to write a Callback to detect an incorrect command, but for this purpose I had to use low-level primitives of the library, such as queues inside driver channels.

Thanks.

@carlmontanari
Copy link
Contributor

👋 hey @shaazmik -- seems reasonable to me! I pushed some commits to shut up the linter and update/add a test case for this. if that looks good to you we can get this merged!

thanks for the work on this! 🚀

@shaazmik
Copy link
Contributor Author

Thank you!

My mistake for not adding the tests, for some reason it failed to run the linter for PR.

Best wishes

@carlmontanari
Copy link
Contributor

no worries at all, thanks for the work here!

@carlmontanari carlmontanari merged commit f6dbfb5 into scrapli:main Oct 17, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants