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

Improve GedcomParser registration and add GedcomImporter command #44

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Jul 28, 2024

Purpose

This pull request improves the registration of the GedcomParser in the service provider and adds a new GedcomImporter command.

Description

The changes in this pull request include:

  1. Improving the registration of the GedcomParser in the service provider. Previously, the GedcomParser was registered using an anonymous function, which could lead to issues with dependency injection. The new implementation uses the $app parameter to ensure proper dependency injection.

  2. Adding a new GedcomImporter command to the package. This command can be used to import GEDCOM files into the application.

Summary

  • Improved GedcomParser registration in ServiceProvider.php
  • Added GedcomImporter command

Suggested changes from Sweep Chat by @curtisdelicata. Continue chatting at https://sweep-chat-demo.vercel.app/c/30ea4e77-b06b-488a-94c7-b6c59d883a94.

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.

1 participant