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

Add event connections to attendees types. #29

Conversation

justlevine
Copy link
Contributor

Adds event connections to the various attendee types. Closes #24 .

  1. The Event type has rSVPAttendees, payPalAttendees, and wooAttendees.
  2. rSVPAttendees, payPalAttendees, and wooAttendees can now be filtered by where : { eventsIn: $id }.

Note:

  • Separate class-{type}attendee.php and class-{type}attendee-resolver.php files were created for each attendee type. This isn't very DRY, but was the best I could do without fully changing attendee over to an interface.
  • The old class-attendee-resolver.php was never actually included before. There's a code segment from @kidunot89 that I left in, because I'm not really sure of the purpose/its effect. If it isn't necessary, it should be removed.
  • For some reason, composer dump-autoload was generating platform_check.php. I manually removed it, but to be safe, a maintainer should probably regenerate the autoload.

Copy link
Member

@bordoni bordoni left a comment

Choose a reason for hiding this comment

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

Suggested a couple small things.

includes/class-core-schema-filters.php Outdated Show resolved Hide resolved
includes/connection/class-wooattendees.php Outdated Show resolved Hide resolved
includes/connection/class-wooattendees.php Outdated Show resolved Hide resolved
includes/connection/class-rsvpattendees.php Outdated Show resolved Hide resolved
justlevine and others added 13 commits April 9, 2021 10:36
@justlevine
Copy link
Contributor Author

Requested changes merged.

@kidunot89 kidunot89 self-requested a review January 19, 2023 19:11
@kidunot89
Copy link
Collaborator

@justlevine @bordoni This functionality was implemented in #46

@kidunot89 kidunot89 closed this Mar 24, 2023
@justlevine justlevine deleted the feature/attendee-event-connection branch March 24, 2023 21: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.

[Feature Request] Add connected event to RSVP/Tickets and Attendees
5 participants