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

Enhance ZPublisher "type suffixes" and "ZTUtils" ... #619

Open
d-maurer opened this issue May 11, 2019 · 1 comment
Open

Enhance ZPublisher "type suffixes" and "ZTUtils" ... #619

d-maurer opened this issue May 11, 2019 · 1 comment
Assignees

Comments

@d-maurer
Copy link
Contributor

... by functionality from dm.zopepatches.ztutils?

ZTUtils.make_query (and friends) allow together with ZPublisher's type suffixes to pass typed information between requests. However, there are some weaknesses.

dm.zopepatches.ztutils addresses the following weaknesses:

  • missing support for None
  • missing support for empty lists/tuples
  • limited support for nested structures
  • fixed set of supported types

by

  • allow for the registration of extensions (essentailly new type suffixes and corresponding converters); used to handle None and deeply nested JSON serializable structures (via a json extension)
  • use :tokens:default to provide a default for empty list/tuple
@dataflake
Copy link
Member

You're welcome to create a PR that integrates functionality directly, meaning without introducing dependencies to outside packages.

@icemac icemac added this to the 5.0 milestone May 14, 2019
@icemac icemac removed the question label May 14, 2019
@icemac icemac modified the milestones: 5.0, 5.1 Oct 2, 2020
@icemac icemac modified the milestones: 5.1, 5.2 Apr 20, 2021
@icemac icemac modified the milestones: 5.2, 5.4 Nov 19, 2021
@dataflake dataflake removed this from the 5.4 milestone Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants