Undocumented custom data on themes?
-
I noticed a Theme.data field in the Javadoc, and testing it via REST it appears to be a custom data field like the one User has, but it is not documented on the main API page: https://fusionauth.io/docs/v1/tech/apis/themes/
So, I just want to check if this API can be relied on and this is just a case of missing documentation, or should I avoid this field?
The use case is checking if we can write one 'master' theme to share among applications/tenants, and control specific customisations via feature flags stored in the theme.
-
Hiya,
I'm unsure if this works correctly, so am hesitant to document it publicly.
I added a tracking issue to investigate functionality and document if it works as expected: https://github.com/FusionAuth/fusionauth-site/issues/959
-
Tested and verified this works. Feel free to use
theme.data
to your heart's content, @mmcnamara !