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

Loosen Restriction on Path #183

Open
1 task done
jonioni opened this issue May 19, 2023 · 0 comments
Open
1 task done

Loosen Restriction on Path #183

jonioni opened this issue May 19, 2023 · 0 comments

Comments

@jonioni
Copy link

jonioni commented May 19, 2023

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

Related: #32

Is it possible to loosen the restriction of the path check? Currently we have more than one serverless config files under the same module root and the restriction on same path makes our codebase incompatible with the compose feature. For instance we have services of same path but different config, e.g.

a-x:
  path: a
  config: x.yml
a-y:
  path: a
  config: y.yml
  dependsOn: a-x

Since it already enables specifying config:, it would be great to support same path: as well.

Any other suggestion would be appreciated. Preferring the ones that don't require a large code base restructuring.

Proposed solution (optional)

Enable specifying service of same path (but different config).

If this is non-straightforward due to the use of single serverless state of the framework itself, then could the check take into account the dependency, i.e. allow same path if there's dependency relation between the checked services?

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

No branches or pull requests

1 participant