Conversation
|
the URL and conference name are correct. Data 2030. previous conference #6889 // file checkConference.ts
// Check if the year in the URL matches the event start or end year
assertField(year === eventStartYear || year === eventEndYear, property, `If a year is present in the URL, it should match the event start or end year`, value);
} |
|
@cgrail, Do you prefer a different approach to handle this specific case? |
With this modification, URL validations will be skipped for conferences where the year in the URL is part of the conference's name. For example:
This will prevent false positives in cases where the year in the URL isn't actually a reference to the event year, but rather part of the conference's brand name. However, this could allow URLs that should actually be validated. For example, if a conference is called "DevCon 2025" but its URL is "https://devcon2024.com/", the validation will be skipped even though the year in the URL (2024) doesn't match the event year (2025). |
nimzco
left a comment
There was a problem hiding this comment.
Looks good to me! Good idea :)
Conference information
Website: https://data2030summit.com