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

Initial interceptors implementation #3616

Merged
merged 7 commits into from
Jan 19, 2025
Merged

Initial interceptors implementation #3616

merged 7 commits into from
Jan 19, 2025

Conversation

raphael
Copy link
Member

@raphael raphael commented Nov 26, 2024

This PR implements the interceptors proposal described in #3614

@tchssk tchssk mentioned this pull request Dec 6, 2024
}

// NextFunc is a function that will continue the request processing chain.
NextFunc func(ctx context.Context) (any, error)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we simply use goa.Endpoint instead?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also generate example interceptor implementation like example service implementation?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the latest commits add example generation.

@raphael raphael merged commit c478bdd into v3 Jan 19, 2025
11 checks passed
@raphael raphael deleted the interceptors branch January 19, 2025 20:11
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.

2 participants