Skip to content

feat: prepare for method generics - #23

Open
ConsoleTVs wants to merge 60 commits into
mainfrom
feat/method-generics
Open

feat: prepare for method generics#23
ConsoleTVs wants to merge 60 commits into
mainfrom
feat/method-generics

Conversation

@ConsoleTVs

Copy link
Copy Markdown
Member

No description provided.

# Conflicts:
#	contract/mock/hooks.go
#	contract/request/hooks.go
#	contract/response/static_test.go
#	contract/session.go
#	framework/hooks.go
#	framework/hooks_writer.go
feat(collection): introduce fluent eager and lazy collections
BREAKING CHANGE: Session.Regenerate no longer returns an error, and middleware.Generator is now func() string because crypto/rand.Read is documented as infallible.
BREAKING CHANGE: problem.Problem and problem.NewProblem are now problem.Details and problem.NewDetails. The stack-trace response APIs were removed. Update consumers to use Details/NewDetails and keep diagnostics in framework or application code.
BREAKING CHANGE: EventDriver and Events are replaced by EventPublisherDriver, EventSubscriberDriver, EventPublisher, and EventSubscriber. Ping and Close are no longer requirements of cache, database, crypto, or event contracts; use optional Pinger, Closer, and Shutdowner capabilities.
BREAKING CHANGE: event broker NewFrom constructors now borrow supplied clients and connections; AMQP NewAMQPBrokerFrom accepts broker configuration, and job driver constructors use New(config) plus resource-first NewFrom variants.
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

Successfully merging this pull request may close these issues.

1 participant