Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Question about example and examples #45

Open
sichvoge opened this issue Apr 14, 2016 · 2 comments
Open

Question about example and examples #45

sichvoge opened this issue Apr 14, 2016 · 2 comments
Assignees
Labels

Comments

@sichvoge
Copy link
Contributor

Looking at TypeDeclaration I can see two methods: example and structuredExample.

  1. What is the difference between those two?

  2. Where is examples?

@KonstantinSviridov
Copy link
Contributor

example is an array of ExampleSpec in RC2, thus, there is now need in examples.

structuredExample was suposed to provide object representation, while example -- string representation. As example now returns an array of ExampleSpec, which are responsible for both representations, we do not need structuredExample any more

@KonstantinSviridov KonstantinSviridov self-assigned this Apr 14, 2016
@sichvoge
Copy link
Contributor Author

Sweet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants