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

Separate table loading logic from table structure #1284

Merged
merged 2 commits into from
Dec 14, 2022

Conversation

aababilov
Copy link
Collaborator

Instead of generating GtfsTableLoader classes, now we generate GtfsTableDescriptor which is used by a non-generated AnyTableLoader class.

GtfsTableDescriptor only contains information about table fields but does not implement parsing or validation. This way the new GtfsTableDescriptor is simpler than GtfsTableLoader.

AnyTableLoader class can support GTFS extensions in future.

Copy link
Collaborator

@asvechnikov2 asvechnikov2 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

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.

None yet

2 participants