We recently decided that GithubAccount entities must be in the format: https://github.com/account_name_here. However, in platform we already have seeds that are GithubAccount entities in a format without the https://github.com prefix.
To solve this problem, I've used the entity transform_before_save functionality to prepend https://github.com if its not present. Additionally, this PR uses the GithubAccount enrichment functionality to check whether the account exists, and hides the entity if it does not exist.
We recently decided that GithubAccount entities must be in the format:
https://github.com/account_name_here
. However, in platform we already have seeds that are GithubAccount entities in a format without thehttps://github.com
prefix.To solve this problem, I've used the entity
transform_before_save
functionality to prependhttps://github.com
if its not present. Additionally, this PR uses the GithubAccount enrichment functionality to check whether the account exists, and hides the entity if it does not exist.