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

Generics #33

Closed
jonthegeek opened this issue Dec 21, 2024 · 1 comment
Closed

Generics #33

jonthegeek opened this issue Dec 21, 2024 · 1 comment

Comments

@jonthegeek
Copy link
Owner

Experiment:

  • Export two generics: prepare() and perform(). Their default methods should be a friendly error message.
  • Export nectar-specific methods for each (exact classes TBD as I work on it). prepare.nectar_list() or whatever will likely call req_prepare(), and perform.nectar_req() will basically call req_perform_opinionated().
  • Also export tidy.nectar_responses(), which will do some basic opinionated processing (closely) akin to resp_parse().
  • beekept packages will use methods for these functions (as necessary).

I think this route will make packages much much cleaner.

@jonthegeek
Copy link
Owner Author

I'm implementing a different plan.

@jonthegeek jonthegeek closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2024
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

No branches or pull requests

1 participant