summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2017-05-29 00:39:08 +0200
committerJ08nY2017-05-29 00:39:08 +0200
commite50d1060150b829285ea5678df2ba70622ef4267 (patch)
treebcd16741ba96308b9686185228038b84ab33ad64
parent8e412a7a614c232662cb1728a04ed19b9b877693 (diff)
downloadpgpmailman-proposal-e50d1060150b829285ea5678df2ba70622ef4267.tar.gz
pgpmailman-proposal-e50d1060150b829285ea5678df2ba70622ef4267.tar.bz2
pgpmailman-proposal-e50d1060150b829285ea5678df2ba70622ef4267.zip
core_changes: Add note about using ObjectRouter for pluggable REST
-rw-r--r--core_changes.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/core_changes.md b/core_changes.md
index 2fec7ee..f9196be 100644
--- a/core_changes.md
+++ b/core_changes.md
@@ -29,6 +29,7 @@
- Create a new `IRESTSink` interface, that is callable `func(request, response)` and knows it's prefix relative to it's root.
- Use `falcon.API.add_sink(callable, prefix)` to add all `IRESTSink`s from both `mailman.rest` package(unused, no sinks necessary for core) and plugin's `.rest` package.
- [falcon.API.add_sink](https://falcon.readthedocs.io/en/stable/api/api.html#falcon.API.add_sink)
+ - Or use the current `ObjectRouter` with plugins providing a `Plugin` object with routing working as currently.
8. ? Make all commands be able to require confirmation and make this a configurable option.