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

Make import path validation case-sensitive and independent from OS #27

Closed
frademacher opened this issue Jan 14, 2021 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@frademacher
Copy link
Collaborator

The validation of import paths should consider case-sensitivity and be independent from the used OS.

Suppose the following filesystem structure:

- smodel.services
- technology
    |- tmodel.technology

Currently, it is possible under Apple or Windows to write the following in the service model smodel.services:

// Import from folder "Technology" whose name in the filesystem is actually "technology"
import technology from "Technology/tmodel.technology" as tech
...

However, the above model will be erroneous on Linux systems, whose filesystems are usually case-sensitive. Thus, import path validation should become case-sensitive and OS-independent to work on all major OSes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants