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

feat: add excluded routes to functions #541

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

eduardoboucas
Copy link
Member

Adds excluded routes to functions.

Part of https://linear.app/netlify/issue/COM-724/excludedpath-in-functions-v2.

@eduardoboucas eduardoboucas requested review from a team as code owners June 14, 2024 17:07
Copy link

netlify bot commented Jun 14, 2024

Deploy Preview for open-api ready!

Name Link
🔨 Latest commit fe71ea2
🔍 Latest deploy log https://app.netlify.com/sites/open-api/deploys/66700392aa9f010008806a4c
😎 Deploy Preview https://deploy-preview-541--open-api.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

}
}

hasConfig := function.DisplayName != "" || function.Generator != "" || len(routes) > 0 || len(excludedRoutes) > 0 || len(function.BuildData) > 0 || function.Priority != 0 || function.TrafficRules != nil || function.Timeout != 0
Copy link
Member Author

Choose a reason for hiding this comment

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

This condition is getting out of hand.

@eduardoboucas eduardoboucas merged commit a2e272e into master Jun 17, 2024
15 checks passed
@eduardoboucas eduardoboucas deleted the feat/functions-excluded-routes branch June 17, 2024 09:41
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