Skip to content

Add relative path utils, allow initializing an object builder from a placeholder, and fix some bugs#1839

Merged
bterlson merged 4 commits into
microsoft:mainfrom
bterlson:few-fixes
Apr 21, 2023
Merged

Add relative path utils, allow initializing an object builder from a placeholder, and fix some bugs#1839
bterlson merged 4 commits into
microsoft:mainfrom
bterlson:few-fixes

Conversation

@bterlson

Copy link
Copy Markdown
Member

Abstracting out some of the core changes from the json schema PR:

  • Implement support for working with relative files (thanks TypeScript team for the help!)
  • Implement support for initializing an object builder to a placeholder. This lets you e.g. add properties to a schema when the schema is circularly referenced and so its evaluation needs to be deferred.
  • Fix a weird bug.

@github-actions

Copy link
Copy Markdown
Contributor

Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status):
Playground: https://cadlplayground.z22.web.core.windows.net/prs/1839/

Website: https://cadlwebsite.z1.web.core.windows.net/prs/1839/

@bterlson
bterlson enabled auto-merge (squash) April 21, 2023 21:25
@bterlson
bterlson merged commit a5d648c into microsoft:main Apr 21, 2023
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.

2 participants