-
Notifications
You must be signed in to change notification settings - Fork 235
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
Merge EFv2 work to main #5798
base: main
Are you sure you want to change the base?
Merge EFv2 work to main #5798
Conversation
import { isTemplateInstance } from "../../../core/type-utils.js"; | ||
import { Enum, Interface, Model, Scalar, Union } from "../../../core/types.js"; | ||
|
||
export function getPlausibleName(type: Model | Union | Enum | Scalar | Interface) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bterlson it seems strange to have this free-floating method here. Isn't that what typekits were created to alleviate? Should this be relocated somewhere or is it fine as-is?
namespaces: Namespace[]; | ||
} | ||
|
||
export class TypeCollector { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bterlson I think this was some work I had originally done long ago and doesn't really have anything to do with EFv2. Shall I remove it?
} from "@typespec/compiler"; | ||
import { $ } from "@typespec/compiler/typekit"; | ||
|
||
export function isModel(type: any): type is Model { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bterlson are these intended to work with typekits, or are these like an ancestor of them? Basically, should I keep these in or remove them?
@@ -0,0 +1,56 @@ | |||
{ | |||
"name": "@typespec/http-client-library", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bterlson are you okay with renaming this http-client
?
3d55dfb
to
51c68b5
Compare
@@ -0,0 +1 @@ | |||
export * from "./kits/index.js"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bterlson should this live in an "experimental" folder and namespace like it does for compiler and http?
Closes #5788.
TODO