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

fix: fix API build for composite components #391

Merged
merged 4 commits into from
May 15, 2019
Merged

fix: fix API build for composite components #391

merged 4 commits into from
May 15, 2019

Conversation

ilhan007
Copy link
Member

FIXES: #390

  • Background: some of the components do not have separate sample page, but they are appended to others sample page. The API of those components is part (in most cases) of parent components API, that use them as composite components.
  • Issue: the API of the composite/child components misses base properties.
  • Root cause: the API generation of the parent component is done before the API generation of the composite/child components.
  • Solution: calculate the API of those composite components before their addition to parents` component API.
    Before (StandardListItem "selected" and "type" properties are missing)

Screenshot 2019-05-15 at 10 49 38

After (StandardListItem "selected" and "type" properties are in place)

Screenshot 2019-05-15 at 10 49 22

Some of the components do not have separate sample page, but are appended to others sample page.
The API of those components is part (in most cases) of parent components API, that use them as composite components.
Issue: the API of the composite/child components misses base properties.
Root cause: the API generataion of the parent component is done before the API generation of the composite/child compoenents.
Solution: calculate the API of those composite components before their addiotion to parent`s component API.
FIXES: #390
@ilhan007 ilhan007 requested review from pskelin and MapTo0 May 15, 2019 07:53
@ilhan007 ilhan007 merged commit dcb829b into master May 15, 2019
@ilhan007 ilhan007 deleted the fix-api-build branch May 15, 2019 09:48
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.

doc: API build does not merge parent API for additional components
2 participants